|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AStarHeuristic
| Method Summary | |
|---|---|
double |
getEstimatedDistanceToGoal(Node a,
Node b)
The heuristic tries to guess how far a given Node is from the goal Node. |
| Method Detail |
|---|
double getEstimatedDistanceToGoal(Node a,
Node b)
map - The map on which the path is being foundx - The x coordinate of the tile being evaluatedy - The y coordinate of the tile being evaluatedtx - The x coordinate of the target locationty - The y coordinate of the target location
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||