| Constructor and Description |
|---|
Dijkstra() |
| Modifier and Type | Method and Description |
|---|---|
double |
estimateCostToGoal(int current_x,
int current_y,
int current_z,
int goal_x,
int goal_y,
int goal_z)
Since Dijkstra's algorithm is equivalent to an A* search where the heuristic function h(x) = 0, return 0.
|
public double estimateCostToGoal(int current_x,
int current_y,
int current_z,
int goal_x,
int goal_y,
int goal_z)
estimateCostToGoal in interface HeuristicCopyright © 2015–2021 Fiji. All rights reserved.