Package mazealgo.model.algorithms.search
Class AState
java.lang.Object
mazealgo.model.algorithms.search.AState
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Maze3DState,MazeState
A state in a search problem. Carries the parent it was reached from
(cameFrom) and the accumulated path cost from the start.
Serializable so a Solution can be sent across the wire from
the server to the client. The cameFrom chain is walked at
Solution-construction time, so serializing a Solution doesn't drag
along the entire visited graph - just the path states.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AState
public AState()
-
-
Method Details