Class SquaredHeuristicStrategy
java.lang.Object
de.bsommerfeld.pathetic.api.pathing.heuristic.SquaredHeuristicStrategy
- All Implemented Interfaces:
IHeuristicStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
calculate
(HeuristicContext heuristicContext) double
calculateTransitionCost
(PathPosition from, PathPosition to)
-
Constructor Details
-
SquaredHeuristicStrategy
public SquaredHeuristicStrategy()
-
-
Method Details
-
calculate
- Specified by:
calculate
in interfaceIHeuristicStrategy
-
calculateTransitionCost
- Specified by:
calculateTransitionCost
in interfaceIHeuristicStrategy
-