|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AStarGoal<NODE>
This class defines the goal of A* algorithm, it allows you to provide complex implementation
of the isGoalReached(Object)
method.
Method Summary | |
---|---|
boolean |
isGoalReached(NODE actualNode)
Returns true, if we've reached the goal ... |
void |
setCloseList(Collection<NODE> closeList)
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... |
void |
setOpenList(Collection<NODE> openList)
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... |
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 |