|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface AStarHeuristic<NODE>
This is an interface containing a method for computing the AStar
heuristic. That means the estimation
how far the goal is from some node that is currently being visited by AStar
.
Use amis-path-finding library instead, see svn://artemis.ms.mff.cuni.cz/pogamut/trunk/project/Utils/AmisPathFinding
Method Summary | |
---|---|
int |
getEstimatedDistanceToGoal(NODE node)
Deprecated. This is heuristic function. |
Method Detail |
---|
int getEstimatedDistanceToGoal(NODE node)
WARNING:
This heuristic must be correct for A* to work correctly, that means the returned distance must be smaller or equal to the real distance and must be monotonic. (In 2D, 3D an euclidean metric will do the job).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |