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 PathCalculatorpublic String getDebugString()
getDebugString in interface PathCalculatorpublic int getVisitedNodes()
getVisitedNodes in interface PathCalculatorpublic Weighting getWeighting()
public void setWeighting(Weighting weighting)
Copyright © 2012–2022. All rights reserved.