|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.rico.engine.path.AStarSearch
public class AStarSearch
The AStarSearch class, along with the AStarNode class, implements a generic A* search algorthim. The AStarNode class should be subclassed to provide searching capability.
| Nested Class Summary | |
|---|---|
static class |
AStarSearch.PriorityList
A simple priority list, also called a priority queue. |
| Constructor Summary | |
|---|---|
AStarSearch()
|
|
| Method Summary | |
|---|---|
java.util.List |
findPath(AStarNode startNode,
AStarNode goalNode)
Find the path from the start node to the end node. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AStarSearch()
| Method Detail |
|---|
public java.util.List findPath(AStarNode startNode,
AStarNode goalNode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||