|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--com.cuspy.pathfinder.AbstractPathFinder
|
+--com.cuspy.pathfinder.AStar
An implementation of the A* path finding algorithm.
| Field Summary |
| Fields inherited from class com.cuspy.pathfinder.AbstractPathFinder |
aborted, goals, listeners, start |
| Constructor Summary | |
AStar(Node start,
java.util.Collection goals)
|
|
AStar(Node start,
Node goal)
|
|
| Method Summary | |
java.util.List |
findPath()
Find a path between the start and the goal Nodes. |
java.util.List |
getConsideredPath()
Get the path currently being considered. |
| Methods inherited from class com.cuspy.pathfinder.AbstractPathFinder |
abort, addPathListener, fireConsidered, removePathListener, run |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AStar(Node start,
Node goal)
public AStar(Node start,
java.util.Collection goals)
| Method Detail |
public java.util.List getConsideredPath()
PathFinder
public java.util.List findPath()
PathFinder
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||