public class FlexiblePathCalculator extends Object implements PathCalculator
Constructor and Description |
---|
FlexiblePathCalculator(QueryGraph queryGraph,
RoutingAlgorithmFactory algoFactory,
Weighting weighting,
AlgorithmOptions algoOpts) |
Modifier and Type | Method and Description |
---|---|
List<Path> |
calcPaths(int from,
int to,
EdgeRestrictions edgeRestrictions) |
String |
getDebugString() |
int |
getVisitedNodes() |
Weighting |
getWeighting() |
void |
setWeighting(Weighting weighting) |
public FlexiblePathCalculator(QueryGraph queryGraph, RoutingAlgorithmFactory algoFactory, Weighting weighting, AlgorithmOptions algoOpts)
public List<Path> calcPaths(int from, int to, EdgeRestrictions edgeRestrictions)
calcPaths
in interface PathCalculator
public String getDebugString()
getDebugString
in interface PathCalculator
public int getVisitedNodes()
getVisitedNodes
in interface PathCalculator
public Weighting getWeighting()
public void setWeighting(Weighting weighting)
Copyright © 2012–2022. All rights reserved.