|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.ut2004.agent.navigation.astar.UT2004PFTask
public abstract class UT2004PFTask
Use amis-path-finding library instead, see AStar or FloydWarshall.
Uses standard 3D-Euclidian distance between NavPoints as the heuristic.
| Constructor Summary | |
|---|---|
UT2004PFTask(NavPoint startNode)
|
|
| Method Summary | |
|---|---|
Set<NavPoint> |
getClosedList()
The closed list of the path-finding algorithm. |
int |
getEstimatedCostToGoal(NavPoint node)
|
cz.cuni.amis.utils.heap.IHeap<NavPoint> |
getOpenList()
The open list of the path-finding algorithm. |
NavPoint |
getStart()
|
abstract boolean |
isGoalReached(NavPoint actualNode)
|
void |
setCloseList(Set<NavPoint> closedList)
|
void |
setOpenList(cz.cuni.amis.utils.heap.IHeap<NavPoint> openList)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UT2004PFTask(NavPoint startNode)
| Method Detail |
|---|
public void setOpenList(cz.cuni.amis.utils.heap.IHeap<NavPoint> openList)
setOpenList in interface cz.cuni.amis.pathfinding.map.IPFGoal<NavPoint>public void setCloseList(Set<NavPoint> closedList)
setCloseList in interface cz.cuni.amis.pathfinding.map.IPFGoal<NavPoint>public cz.cuni.amis.utils.heap.IHeap<NavPoint> getOpenList()
IMMUTABLE! DON'T CHANGE IT!
openList - public Set<NavPoint> getClosedList()
IMMUTABLE! DON'T CHANGE IT!
public NavPoint getStart()
getStart in interface cz.cuni.amis.pathfinding.map.IPFGoal<NavPoint>public abstract boolean isGoalReached(NavPoint actualNode)
isGoalReached in interface cz.cuni.amis.pathfinding.map.IPFGoal<NavPoint>public int getEstimatedCostToGoal(NavPoint node)
getEstimatedCostToGoal in interface cz.cuni.amis.pathfinding.map.IPFGoal<NavPoint>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||