public class RoutingAlgorithmFactorySimple extends Object implements RoutingAlgorithmFactory
Constructor and Description |
---|
RoutingAlgorithmFactorySimple() |
Modifier and Type | Method and Description |
---|---|
RoutingAlgorithm |
createAlgo(Graph g,
Weighting w,
AlgorithmOptions opts)
This method creates an algorithm out of this factory based on the specified opts and graph.
|
static WeightApproximator |
getApproximation(String prop,
PMap opts,
Weighting weighting,
NodeAccess na) |
public RoutingAlgorithm createAlgo(Graph g, Weighting w, AlgorithmOptions opts)
RoutingAlgorithmFactory
createAlgo
in interface RoutingAlgorithmFactory
public static WeightApproximator getApproximation(String prop, PMap opts, Weighting weighting, NodeAccess na)
Copyright © 2012–2022. All rights reserved.