Package com.graphhopper.routing
Class FlexiblePathCalculator
java.lang.Object
com.graphhopper.routing.FlexiblePathCalculator
- All Implemented Interfaces:
PathCalculator
-
Constructor Summary
ConstructorsConstructorDescriptionFlexiblePathCalculator
(QueryGraph queryGraph, RoutingAlgorithmFactory algoFactory, Weighting weighting, AlgorithmOptions algoOpts) -
Method Summary
Modifier and TypeMethodDescriptioncalcPaths
(int from, int to, EdgeRestrictions edgeRestrictions) int
void
setWeighting
(Weighting weighting)
-
Constructor Details
-
FlexiblePathCalculator
public FlexiblePathCalculator(QueryGraph queryGraph, RoutingAlgorithmFactory algoFactory, Weighting weighting, AlgorithmOptions algoOpts)
-
-
Method Details
-
calcPaths
- Specified by:
calcPaths
in interfacePathCalculator
-
getDebugString
- Specified by:
getDebugString
in interfacePathCalculator
-
getVisitedNodes
public int getVisitedNodes()- Specified by:
getVisitedNodes
in interfacePathCalculator
-
getWeighting
-
setWeighting
-