public class ManhattanHeuristic<T> extends java.lang.Object implements IAStarHeuristic<T>
| Constructor and Description |
|---|
ManhattanHeuristic() |
| Modifier and Type | Method and Description |
|---|---|
float |
getExpectedRestCost(IPathFinderMap<T> pPathFinderMap,
T pEntity,
int pFromX,
int pFromY,
int pToX,
int pToY) |
public float getExpectedRestCost(IPathFinderMap<T> pPathFinderMap, T pEntity, int pFromX, int pFromY, int pToX, int pToY)
getExpectedRestCost in interface IAStarHeuristic<T>