public class WaterJugProblem extends Problem
Constructor and Description |
---|
WaterJugProblem()
Constructs a new water jug problem object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
success()
Returns whether the current state of this problem is a success.
|
getCurrentState, getIntroduction, getMoves, setCurrentState, setIntroduction, setMoves
public WaterJugProblem()
public boolean success()