Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<PlayablePuzzle> |
DataSource.getAllPuzzlesForSubclassOf(java.lang.Class<? extends PuzzleInstance> piClass) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends PuzzleInstance> |
PuzzleInstanceClass.getTheClass() |
Modifier and Type | Method and Description |
---|---|
void |
Problems.addAlgorithm(java.lang.Class<? extends PuzzleInstance> cl,
java.lang.Class<? extends AlgorithmInterface<?>> alg) |
void |
FamilyDetails.addAlgorithm(java.lang.Class<? extends PuzzleInstance> cl,
java.lang.Class<? extends AlgorithmInterface<?>> alg)
For the Eclipse plugin (and other things)
|
void |
FamilyDetails.addPuzzleDescription(java.lang.Class<? extends PuzzleInstance> cl,
java.lang.String description)
For the Eclipse plugin.
|
void |
FamilyDetails.addPuzzleInstanceClass(java.lang.Class<? extends PuzzleInstance> cl) |
static PuzzleInstanceClass |
PuzzleInstanceClass.getPuzzleInstanceClass(java.lang.Class<? extends PuzzleInstance> myClass) |
Constructor and Description |
---|
SolutionWithPuzzle(Solution other,
PuzzleInstance puz) |
Modifier and Type | Class and Description |
---|---|
class |
BaseEvent<S extends PuzzleInstance>
Top of the event food chain.
|
class |
DoubleVertexEvent<S extends PuzzleInstance>
If you look at the super class, you will notice the possibility of an error: If decodeData is given an ArrayList with
< 2 elements, getTo and/or getFrom will crash.
|
interface |
Event<T extends PuzzleInstance> |
class |
GenericEvent<S extends PuzzleInstance>
This is an unspecified event.
|
class |
InvalidEvent<S extends PuzzleInstance>
This is an unspecified event.
|
class |
MultiEdgeEvent<S extends PuzzleInstance> |
class |
MultiVertexEvent<S extends PuzzleInstance> |
class |
SingleVertexEvent<S extends PuzzleInstance>
An expanded event that contains a vertex.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends PuzzleInstance> |
EventDecoder.getPuzzleClass() |
Event<PuzzleInstance> |
VertexSelectedEvent.inverseEvent() |
Event<PuzzleInstance> |
VertexDeselectedEvent.inverseEvent() |
Event<PuzzleInstance> |
AlgorithmResultEvent.inverseEvent() |
Modifier and Type | Method and Description |
---|---|
BaseEvent |
EventDecoder.createEvent(java.lang.String encoding,
PuzzleInstance game)
Create an event based on a character encoding and game/graph to which it belongs.
|
static EventDecoder |
EventDecoder.getEventDecoder(PuzzleInstance pi)
A factory method to get an encoder for a given puzzle family.
|
java.util.ArrayList<Event<?>> |
EventDecoder.parseRunnableEvents(java.lang.String eventList,
PuzzleInstance game) |
void |
SubgraphGraphEditEvent.setGame(PuzzleInstance game)
Need to make sure the sub events get the game, too.
|
Modifier and Type | Method and Description |
---|---|
void |
EventDecoder.setPuzzleClass(java.lang.Class<? extends PuzzleInstance> puzzleClass) |
Constructor and Description |
---|
MultiVertexGraphEditEvent(MultiVertexEvent<PuzzleInstance> other) |
MultiVertexWithCoordinatesGraphEditEvent(MultiVertexEvent<PuzzleInstance> other) |
SingleVertexWithCoordinatesGraphEditEvent(MultiVertexEvent<PuzzleInstance> other) |
Modifier and Type | Method and Description |
---|---|
Event<PuzzleInstance> |
UndoEvent.inverseEvent() |
Event<PuzzleInstance> |
RedoEvent.inverseEvent() |
Constructor and Description |
---|
AtBeginningEvent(PuzzleInstance game) |
ClickCheckButtonEvent(PuzzleInstance game) |
PuzzleCompletedEvent(PuzzleInstance game) |
RedoEvent(PuzzleInstance game) |
RestartEvent(PuzzleInstance game)
Deprecated.
|
SubmitButtonClickedEvent(PuzzleInstance game) |
TryItButtonEvent(PuzzleInstance game) |
UndoEvent(PuzzleInstance game) |
Modifier and Type | Method and Description |
---|---|
Event<PuzzleInstance> |
VertexRemovedEvent.inverseEvent() |
Event<PuzzleInstance> |
VertexMoveEvent.inverseEvent() |
Event<PuzzleInstance> |
VertexAddedEvent.inverseEvent() |
Event<PuzzleInstance> |
SubgraphRemovedEvent.inverseEvent() |
Event<PuzzleInstance> |
SubgraphAddedEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiVertexRemovedEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiVertexMultiMoveEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiVertexMoveEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiVertexAddedEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiEdgesRemovedEvent.inverseEvent() |
Event<PuzzleInstance> |
MultiEdgesAddedEvent.inverseEvent() |
Event<PuzzleInstance> |
GraphMovedEvent.inverseEvent() |
Event<PuzzleInstance> |
EdgeRemovedEvent.inverseEvent() |
Event<PuzzleInstance> |
EdgeAddedEvent.inverseEvent() |
Constructor and Description |
---|
MultiVertexAddedEvent(MultiVertexEvent<PuzzleInstance> other) |
MultiVertexRemovedEvent(MultiVertexEvent<PuzzleInstance> other) |
VertexAddedEvent(MultiVertexEvent<PuzzleInstance> other) |
VertexRemovedEvent(MultiVertexEvent<PuzzleInstance> other) |
Modifier and Type | Class and Description |
---|---|
class |
ColorsInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
ColorsInstance.copyPuzzle() |
PuzzleInstance |
ColorsInstance.getTryItInstanceForUseOnPlayScreen() |
Constructor and Description |
---|
ColorsInstance(PuzzleInstance g) |
Modifier and Type | Class and Description |
---|---|
class |
GraphInstance
This is basically an instantiation of PuzzleInstance.
|
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
GraphInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
LightsInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
LightsInstance.copyPuzzle() |
PuzzleInstance |
LightsInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
LightsOutInstance |
Modifier and Type | Class and Description |
---|---|
class |
MultiDesignsInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
MultiDesignsInstance.copyPuzzle() |
PuzzleInstance |
MultiDesignsInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
FindDesignsInstance |
Modifier and Type | Class and Description |
---|---|
class |
PebbleInstance
This class extends the game instance class so that Pebble It specific information can be stored in this class that is
necessary to play pebble it.
|
class |
PebbleMoveInstance |
class |
PebblePlaceInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PebbleInstance.copyPuzzleSoItHasInitialStateTheSameAsMyCurrentState() |
Modifier and Type | Class and Description |
---|---|
class |
ConfoundItInstance
The ConfoundIt instance.
|
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
ConfoundItInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
OptimizeItInstance
The OptimizeIt instance.
|
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
OptimizeItInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
ReachItInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
ReachItInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
RockItInstance
The PuzzleInstance for Rock It.
|
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
RockItInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
PortalLordInstance |
Modifier and Type | Class and Description |
---|---|
class |
PortalForgerInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PortalForgerInstance.copyPuzzle() |
PuzzleInstance |
PortalForgerInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
PowerGraphInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PowerGraphInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
PowerHousesInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PowerHousesInstance.copyPuzzle() |
Modifier and Type | Class and Description |
---|---|
class |
PowerLinesInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PowerLinesInstance.copyPuzzle() |
Modifier and Type | Class and Description |
---|---|
class |
PowerZonesInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
PowerZonesInstance.copyPuzzle() |
Modifier and Type | Class and Description |
---|---|
class |
EdgeChooseInstance |
class |
WeightedInstance |
class |
WeightedWithSourceInstance
A temporary hack so I can very quickly implement single source shortest path stuff.
|
Modifier and Type | Class and Description |
---|---|
class |
MinimumSpanningTreeInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
MinimumSpanningTreeInstance.copyPuzzle() |
PuzzleInstance |
MinimumSpanningTreeInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
SSShortestPathInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
SSShortestPathInstance.copyPuzzle() |
PuzzleInstance |
SSShortestPathInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Class and Description |
---|---|
class |
TravelingSalesmanInstance |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
TravelingSalesmanInstance.copyPuzzle() |
PuzzleInstance |
TravelingSalesmanInstance.getTryItInstanceForUseOnPlayScreen() |
Modifier and Type | Method and Description |
---|---|
abstract PuzzleInstance |
AbstractGraphProblem.copyPuzzle()
Make a copy of this object, but not exactly! IMPORTANT: This copy should make a copy so that the copy's initial
settings are set to this objects current settings.
|
abstract PuzzleInstance |
AbstractGraphProblem.getTryItInstanceForUseOnPlayScreen()
What kind of puzzle should the TryIt button produce? Return null if Try it is not applicable
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAlgorithm<T extends PuzzleInstance>
An abstract implementation of AlgorithmInterface with of the more peripheral/annoying methods filled in.
|
interface |
AlgorithmInterface<T extends PuzzleInstance>
An interface for algorithms
|
class |
OldGenericAlgorithm<T extends PuzzleInstance>
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
OldGenericAlgorithm.getCopyOfUpdatedPuzzle()
Deprecated.
|
PuzzleInstance |
AlgorithmWrapper.getCurrentPuzzle()
Return the puzzle after updating the data based on the progress of the algorithm
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<PuzzleInstance> |
CountShortestPathsAlgorithm.getProblemType() |
Constructor and Description |
---|
AlgorithmWrapper(AlgorithmInterface<? extends PuzzleInstance> algorithm,
PuzzleInstance puzzle)
Construct an object that will allow us to run the given algorithm on the given puzzle.
|
Constructor and Description |
---|
AlgorithmWrapper(AlgorithmInterface<? extends PuzzleInstance> algorithm,
PuzzleInstance puzzle)
Construct an object that will allow us to run the given algorithm on the given puzzle.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<PuzzleInstance> |
ShortestPathAlgorithm.getProblemType() |
java.lang.Class<PuzzleInstance> |
IsAntipodal.getProblemType() |
java.lang.Class<PuzzleInstance> |
DepthFirstSearchSkeletonAlgorithm.getProblemType() |
java.lang.Class<PuzzleInstance> |
BreadthFirstSearchSkeletonAlgorithm.getProblemType() |
Modifier and Type | Class and Description |
---|---|
class |
NewTheme<S extends PuzzleInstance>
Default Theme for drawing the graph and game configuration pieces.
|
class |
OldTheme<S extends PuzzleInstance>
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
GenericPuzzleScreenController<S extends PuzzleInstance>
This is a controller for editors and, strangely enough, play screens.
|
class |
PuzzleController<T extends PuzzleInstance>
This class has a superclass of controller and because it is abstract, it will never be instantiated.
|
Modifier and Type | Method and Description |
---|---|
void |
OldAlgorithmTableController.saveHumanSolution(PuzzleInstance pi,
java.lang.String name) |
void |
AlgorithmTableController.saveHumanSolution(PuzzleInstance pi,
java.lang.String name) |
Constructor and Description |
---|
ReplayController(StackedScreen g2,
PuzzleInstance g,
GraphView v,
java.lang.String moves,
java.lang.String solName,
java.lang.String playerName)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
AdminGenericPuzzleTableController<S extends PuzzleInstance>
This class is the controller for the screen where a user can choose a pebble puzzle to edit.
|
Modifier and Type | Class and Description |
---|---|
class |
AlgorithmRunner<T extends PuzzleInstance>
AlgorithmRunner (prev.
|
Modifier and Type | Method and Description |
---|---|
static AlgorithmRunner<? extends PuzzleInstance> |
AlgorithmRunner.getAlgorithmRunner(java.awt.Component g,
PuzzleInstance puzzle,
boolean modal,
boolean allowSaving) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
UsefulDialogs.askForSolutionName(StackedScreen gui,
PuzzleInstance game)
This method asks the user for a name for the game.
|
static AlgorithmRunner<? extends PuzzleInstance> |
AlgorithmRunner.getAlgorithmRunner(java.awt.Component g,
PuzzleInstance puzzle,
boolean modal,
boolean allowSaving) |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
SplitScreen.getPuzzle() |
Modifier and Type | Method and Description |
---|---|
static SplitScreen |
PuzzleScreenFactory.createEditScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createEditTutorialScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createMultiEditScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createPlayScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createReplayScreen(StackedScreen gui,
PuzzleInstance game,
java.lang.String moves,
java.lang.String solName,
java.lang.String playerName) |
static SplitScreen |
PuzzleScreenFactory.createSandboxFromEditScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createSandboxFromPlayScreen(StackedScreen gui,
PuzzleInstance pail) |
static SplitScreen |
PuzzleScreenFactory.createViewScreen(StackedScreen gui,
PuzzleInstance pail) |
Constructor and Description |
---|
SplitScreen(PuzzleInstance thegame,
GraphView view,
PuzzleController controller,
boolean swapSides)
Constructor for SplitScreen.
|
SplitScreen(PuzzleInstance thegame,
GraphView view,
PuzzleController controller,
int rightSideWidth) |
Modifier and Type | Method and Description |
---|---|
PuzzleInstance |
ContinualReplayView.getPuzzleInstance()
Although The super class has game, no accessor is provided, and it doesn't seem like a good idea for that class
to do so.
|
PuzzleInstance |
DemoPanel.getThePuzzle() |
Modifier and Type | Method and Description |
---|---|
void |
GraphView.init(PuzzleInstance thePuzzle,
java.lang.String theTitle) |
void |
Preview.setPuzzle(PuzzleInstance game) |
void |
GraphView.setPuzzle(PuzzleInstance game) |
Constructor and Description |
---|
ContinualReplayView(ControllablePanel cp,
PuzzleInstance thePuzzle,
java.lang.String data,
int delay,
boolean smallBorders) |
GraphView(PuzzleInstance thePuzzle,
java.lang.String theTitle)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static <T extends PuzzleInstance> |
PuzzleInstanceFactory.createPuzzleInstance(java.lang.String adjacencyList,
java.lang.String vertexCoordinates,
java.lang.String puzzleData) |
Modifier and Type | Method and Description |
---|---|
abstract PuzzleInstance |
PuzzleInstance.copyPuzzle()
Make a copy of this object, but not exactly! IMPORTANT: This copy should make a copy so that the copy's initial
settings are set to this objects current settings.
|
PuzzleInstance |
PuzzleInstance.copyPuzzleSoItHasInitialStateTheSameAsMyCurrentState()
Copies the puzzle so that it has an initial state that is the same as this puzzle's current state.
|
static PuzzleInstance |
PuzzleInstanceFactory.createBlankPuzzleInstance(Graph graph,
java.lang.String problemName) |
static PuzzleInstance |
PuzzleInstanceFactory.createPuzzleInstance(Puzzle dbPuzzle)
Creates an instance based on the first character of the data encoding of the puzzle.
|
static PuzzleInstance |
PuzzleInstanceFactory.createPuzzleInstance(Replay replay)
I don't really like having to pass DataSource here, but not sure of a way around it.
|
abstract PuzzleInstance |
PuzzleInstance.getTryItInstanceForUseOnPlayScreen()
What kind of puzzle should the TryIt button produce? Return null if Try it is not applicable
|
Modifier and Type | Method and Description |
---|---|
boolean |
UndoRedoHistory.forceRedo(PuzzleInstance game)
Deprecated.
Allow redoing even if the undo stack is empty above the undoStackBottom.
|
boolean |
UndoRedoHistory.redo(PuzzleInstance game)
Deprecated.
Redo the top move on the undo stack, remove it and place it on
the move stack (so it can be undone).
|
boolean |
UndoRedoHistory.takeBack(PuzzleInstance game)
Deprecated.
Take back the last move.
|
boolean |
UndoRedoHistory.takeBackRedo(PuzzleInstance game)
Deprecated.
Undo + takeback.
|
boolean |
UndoRedoHistory.takebackUndo(PuzzleInstance game)
Deprecated.
|
boolean |
UndoRedoHistory.undo(PuzzleInstance game)
Deprecated.
Undo the last performed move.
|
Constructor and Description |
---|
GrossHistory(PuzzleInstance pi) |
ReplayInstance(PuzzleInstance g,
java.lang.String moves) |
TutorialData(java.lang.String moves,
PuzzleInstance game) |