Uses of Interface
puzzle.State
Packages that use State
Package
Description
Package for representing and solving puzzles.
Package for solving puzzles.
-
Uses of State in puzzle
Modifier and TypeInterfaceDescriptioninterface
Represents the state of a puzzle whose moves are described by two objects, i.e.,from
andto
. -
Uses of State in puzzle.solver
Methods in puzzle.solver that return StateMethods in puzzle.solver with parameters of type StateModifier and TypeMethodDescriptionSearches for the shortest solution for the puzzle starting from the state provided.BreadthFirstSearch.solveAndPrintSolution
(State<T> state) Searches for the shortest solution for the puzzle starting from the state provided, and it also prints the solution to the standard output.Constructors in puzzle.solver with parameters of type State