Package | Description |
---|---|
cusack.hcg.games.pebble | |
cusack.hcg.games.pebble.algorithms | |
cusack.hcg.games.pebble.algorithms.islands | |
cusack.hcg.games.pebble.events |
Modifier and Type | Method and Description |
---|---|
PebbleAlgorithmStates |
PebbleInstance.getState() |
Modifier and Type | Method and Description |
---|---|
void |
PebbleInstance.setState(PebbleAlgorithmStates state)
This game is a bit odd.
|
Modifier and Type | Method and Description |
---|---|
PebbleAlgorithmStates |
PebbleAlgorithm.getPebbleState()
Returns the PebbleState without allowing it to be changed
|
static PebbleAlgorithmStates |
PebbleAlgorithmStates.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PebbleAlgorithmStates[] |
PebbleAlgorithmStates.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
PebbleAlgorithm.setPebbleState(PebbleAlgorithmStates pebblingAlgorithmState)
Sets the state of the pebbling algorithm, and also updates the state of the algorithm in general.
|
Modifier and Type | Method and Description |
---|---|
static PebbleAlgorithmStates |
IslandUtils.isSolvableDiamTwoRec(PebbleInstance pi,
java.util.Set<Vertex> L)
Recursive function that determines if this graph is solvable.
|
Constructor and Description |
---|
PebblePlacedEvent(PebbleInstance game,
Vertex vertex,
int pebs,
PebbleAlgorithmStates old) |
PebbleRemovedEvent(PebbleInstance game,
Vertex vertex,
int pebs,
PebbleAlgorithmStates old) |