|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ed.inf.sdp2012.group7.strategy.astar.ClosestHeuristic
public class ClosestHeuristic
| Constructor Summary | |
|---|---|
ClosestHeuristic()
|
|
| Method Summary | |
|---|---|
double |
getEstimatedDistanceToGoal(Node a,
Node b)
The heuristic tries to guess how far a given Node is from the goal Node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClosestHeuristic()
| Method Detail |
|---|
public double getEstimatedDistanceToGoal(Node a,
Node b)
AStarHeuristic
getEstimatedDistanceToGoal in interface AStarHeuristic
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||