Package | Description |
---|---|
cusack.hcg.games.pebble.algorithms.islands |
Modifier and Type | Method and Description |
---|---|
static java.util.HashSet<Island> |
IslandUtils.getIslands(PebbleInstance pi) |
Modifier and Type | Method and Description |
---|---|
boolean |
Island.equals(Island i)
Equals.
|
static java.util.List<Path> |
IslandUtils.getDoublePebblePaths(Island i,
Vertex u,
Vertex v)
Tests to see if using only the vertices in Island i, we can move two pebbles simultaneously to Vertex v.
|
static int |
IslandUtils.pebbleFromIsland(PebbleInstance pi,
Island island,
Vertex v)
Moves a pebble from the island to the vertex, if possible.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
IslandUtils.containsEmpire(java.util.Collection<Island> islands)
Determines if any island in the collection contains an empire.
|
Constructor and Description |
---|
IslandMove(Island i)
Instantiates a new composite move.
|
TwoTwoIslandMove(Island i)
Instantiates a new multi move.
|
Constructor and Description |
---|
IslandMoveListState(java.util.Collection<Island> islands)
Instantiates a new island moves based on priority set up by the given priorities.
|