Package | Description |
---|---|
bridge |
This package contains classes for implementing a program
that allows a user to solve the Bridge Crossing problem.
|
framework |
This package contains three classes and an interface
that make up a framework for building applications that allow their users to
solve problems requiring
search.
|
waterjug |
This package contains classes for implementing a program
that allows a user to solve the Water Jug problem.
|
Modifier and Type | Class and Description |
---|---|
class |
BridgeState
This class represents states of the Bridge Crossing problem.
|
Modifier and Type | Method and Description |
---|---|
State |
BridgeMove.doMove(State otherState)
Attempts to perform this move on a given bridge state.
|
Modifier and Type | Method and Description |
---|---|
State |
BridgeMove.doMove(State otherState)
Attempts to perform this move on a given bridge state.
|
Modifier and Type | Method and Description |
---|---|
abstract State |
Move.doMove(State state)
Performs this move on a given state.
|
State |
Problem.getCurrentState()
Gets the current state of the problem.
|
Modifier and Type | Method and Description |
---|---|
abstract State |
Move.doMove(State state)
Performs this move on a given state.
|
void |
Problem.setCurrentState(State currentState)
Sets the current state of the problem.
|
Modifier and Type | Class and Description |
---|---|
class |
WaterJugState
This class represents states of the Water Jug problem.
|
Modifier and Type | Method and Description |
---|---|
State |
WaterJugMove.doMove(State otherState)
Attempts to perform this move on a given water jug state.
|
Modifier and Type | Method and Description |
---|---|
State |
WaterJugMove.doMove(State otherState)
Attempts to perform this move on a given water jug state.
|