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