Constructor and Description |
---|
HeuristicClosest() |
Modifier and Type | Method and Description |
---|---|
double |
getCost(int sx,
int sy,
int dx,
int dy)
This controls the order in which tiles are searched while attempting to find a path to the target location.
|
public double getCost(int sx, int sy, int dx, int dy)
Heuristic