public class AlgorithmOptions extends Object
AlgorithmOptions algoOpts = AlgorithmOptions.start(). algorithm(Parameters.Algorithms.DIJKSTRA). weighting(weighting). build();
Modifier and Type | Class and Description |
---|---|
static class |
AlgorithmOptions.Builder |
Constructor and Description |
---|
AlgorithmOptions(String algorithm,
Weighting weighting)
Default traversal mode NODE_BASED is used.
|
AlgorithmOptions(String algorithm,
Weighting weighting,
TraversalMode tMode) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm() |
PMap |
getHints() |
int |
getMaxVisitedNodes() |
TraversalMode |
getTraversalMode() |
Weighting |
getWeighting() |
boolean |
hasWeighting() |
static AlgorithmOptions.Builder |
start()
This method starts the building process for AlgorithmOptions.
|
static AlgorithmOptions.Builder |
start(AlgorithmOptions opts)
This method clones the specified AlgorithmOption object with the possibility for further
changes.
|
String |
toString() |
public AlgorithmOptions(String algorithm, Weighting weighting)
public AlgorithmOptions(String algorithm, Weighting weighting, TraversalMode tMode)
public static AlgorithmOptions.Builder start()
public static AlgorithmOptions.Builder start(AlgorithmOptions opts)
public TraversalMode getTraversalMode()
public boolean hasWeighting()
public Weighting getWeighting()
public String getAlgorithm()
public int getMaxVisitedNodes()
public PMap getHints()
Copyright © 2012–2020. All rights reserved.