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) intvoidsetWeighting(Weighting weighting)
-
Constructor Details
-
FlexiblePathCalculator
public FlexiblePathCalculator(QueryGraph queryGraph, RoutingAlgorithmFactory algoFactory, Weighting weighting, AlgorithmOptions algoOpts)
-
-
Method Details
-
calcPaths
- Specified by:
calcPathsin interfacePathCalculator
-
getDebugString
- Specified by:
getDebugStringin interfacePathCalculator
-
getVisitedNodes
public int getVisitedNodes()- Specified by:
getVisitedNodesin interfacePathCalculator
-
getWeighting
-
setWeighting
-