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