public interface RoutingAlgorithm
Modifier and Type | Method and Description |
---|---|
Path |
calcPath(int from,
int to)
Calculates the best path between the specified nodes.
|
List<Path> |
calcPaths(int from,
int to)
Calculates multiple possibilities for a path.
|
String |
getName() |
int |
getVisitedNodes()
Returns the visited nodes after searching.
|
void |
setMaxVisitedNodes(int numberOfNodes)
Limit the search to numberOfNodes.
|
Path calcPath(int from, int to)
List<Path> calcPaths(int from, int to)
calcPath(int, int)
void setMaxVisitedNodes(int numberOfNodes)
String getName()
int getVisitedNodes()
Copyright © 2012–2020. All rights reserved.