|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SearchAlgorithm
An interface for defining generic node search algorithms. NOTE: Implementations of this interface should override Object.toString() with the name of the algorithm. e.g. "A*", "Dijkstra", "Best-First", "D* Lite"
Object.toString()
Method Summary | |
---|---|
java.util.Collection<WayPoint> |
findPath(Node startNode,
Node goalNode)
Method accepts a start node and a goal node, and returns a path consisting of a collection of waypoints which includes the startNode coordinates as the first waypoint, and the goal node coordinates as the final waypoint. |
Method Detail |
---|
java.util.Collection<WayPoint> findPath(Node startNode, Node goalNode)
startNode
- goalNode
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |