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

@Deprecated public interface AStarGoal<NODE>
This class defines the goal of A* algorithm, it allows you to provide complex implementation
of the isGoalReached(Object) method.
Use amis-path-finding library instead, see svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/Utils/AmisPathFinding
| Method Summary | |
|---|---|
boolean |
isGoalReached(NODE actualNode)
Deprecated. Returns true, if we've reached the goal ... e.g. actualNode is node we were trying to get to if this function never returns true, A* will run until all nodes are evaluated |
void |
setCloseList(Collection<NODE> closeList)
Deprecated. This is called at the beginning of the A* algorithm to bind the close list to the goal (you may use it check which nodes we've visited, etc... for extra cost for instance). |
void |
setOpenList(Collection<NODE> openList)
Deprecated. This is called at the beginning of the A* algorithm to bind the open list to the goal (you may use it check which nodes we've visited, etc... for extra cost for instance). |
| Methods inherited from interface cz.cuni.amis.utils.astar.AStarEvaluator |
|---|
getExtraCost, isNodeOpened |
| Methods inherited from interface cz.cuni.amis.utils.astar.AStarHeuristic |
|---|
getEstimatedDistanceToGoal |
| Method Detail |
|---|
void setOpenList(Collection<NODE> openList)
void setCloseList(Collection<NODE> closeList)
boolean isGoalReached(NODE actualNode)
actualNode -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||