public class AStar extends Object
Constructor and Description |
---|
AStar() |
Modifier and Type | Method and Description |
---|---|
List<GraphPath> |
getPathsToTarget() |
ShortestPathTree |
getShortestPathTree(RoutingRequest req)
Compute SPT using default timeout and termination strategy.
|
ShortestPathTree |
getShortestPathTree(RoutingRequest req,
double relTimeoutSeconds)
Compute SPT using default termination strategy.
|
ShortestPathTree |
getShortestPathTree(RoutingRequest options,
double relTimeoutSeconds,
SearchTerminationStrategy terminationStrategy) |
ShortestPathTree |
getShortestPathTree(RoutingRequest options,
double relTimeoutSeconds,
SearchTerminationStrategy terminationStrategy,
Collection<State> initialStates)
Get an SPT, starting from a collection of states
|
void |
setTraverseVisitor(TraverseVisitor traverseVisitor) |
void |
startSearch(RoutingRequest options,
SearchTerminationStrategy terminationStrategy,
long abortTime)
set up a single-origin search
|
public ShortestPathTree getShortestPathTree(RoutingRequest req)
public ShortestPathTree getShortestPathTree(RoutingRequest req, double relTimeoutSeconds)
public void startSearch(RoutingRequest options, SearchTerminationStrategy terminationStrategy, long abortTime)
public ShortestPathTree getShortestPathTree(RoutingRequest options, double relTimeoutSeconds, SearchTerminationStrategy terminationStrategy)
public ShortestPathTree getShortestPathTree(RoutingRequest options, double relTimeoutSeconds, SearchTerminationStrategy terminationStrategy, Collection<State> initialStates)
public void setTraverseVisitor(TraverseVisitor traverseVisitor)
Copyright © 2019. All rights reserved.