Package | Description |
---|---|
org.opentripplanner.analyst | |
org.opentripplanner.analyst.batch | |
org.opentripplanner.analyst.core | |
org.opentripplanner.analyst.request | |
org.opentripplanner.profile | |
org.opentripplanner.routing.algorithm | |
org.opentripplanner.routing.algorithm.strategies | |
org.opentripplanner.routing.core | |
org.opentripplanner.routing.spt | |
org.opentripplanner.scripting.api | |
org.opentripplanner.visualizer |
This package contains classes used for visualizing OpenTripPlanner graphs.
|
Constructor and Description |
---|
TimeSurface(ShortestPathTree spt)
Create a time surface with a sample grid
|
TimeSurface(ShortestPathTree spt,
boolean makeSampleGrid)
Create a time surface, optionally making a sample grid
|
Modifier and Type | Method and Description |
---|---|
static ResultSet |
ResultSet.forTravelTimes(Population population,
ShortestPathTree spt) |
Modifier and Type | Method and Description |
---|---|
long |
Sample.eval(ShortestPathTree spt) |
byte |
Sample.evalBoardings(ShortestPathTree spt) |
double |
Sample.evalWalkDistance(ShortestPathTree spt) |
Modifier and Type | Method and Description |
---|---|
static void |
SampleGridRenderer.sampleSPT(ShortestPathTree spt,
ZSampleGrid<SampleGridRenderer.WTWD> sampleGrid,
double gridSizeMeters,
double offRoadDistanceMeters,
double offRoadWalkSpeedMps,
double maxWalkDistance,
int maxTimeSec,
double cosLat)
Sample a SPT using a SPTWalker and an AccumulativeGridSampler.
|
Modifier and Type | Method and Description |
---|---|
gnu.trove.map.TIntIntMap |
RaptorWorkerData.findStopsNear(ShortestPathTree spt,
Graph graph,
boolean useTimes,
float walkSpeed)
find stops from a given SPT, including temporary stops.
|
Modifier and Type | Method and Description |
---|---|
ShortestPathTree |
EarliestArrivalSearch.getShortestPathTree(RoutingRequest req) |
ShortestPathTree |
AStar.getShortestPathTree(RoutingRequest req)
Compute SPT using default timeout and termination strategy.
|
ShortestPathTree |
EarliestArrivalSearch.getShortestPathTree(RoutingRequest req,
double timeoutSeconds) |
ShortestPathTree |
AStar.getShortestPathTree(RoutingRequest req,
double relTimeoutSeconds)
Compute SPT using default termination strategy.
|
ShortestPathTree |
EarliestArrivalSearch.getShortestPathTree(RoutingRequest options,
double relTimeout,
SearchTerminationStrategy terminationStrategy) |
ShortestPathTree |
AStar.getShortestPathTree(RoutingRequest options,
double relTimeoutSeconds,
SearchTerminationStrategy terminationStrategy) |
ShortestPathTree |
AStar.getShortestPathTree(RoutingRequest options,
double relTimeoutSeconds,
SearchTerminationStrategy terminationStrategy,
Collection<State> initialStates)
Get an SPT, starting from a collection of states
|
ShortestPathTree |
GenericDijkstra.getShortestPathTree(State initialState) |
Modifier and Type | Method and Description |
---|---|
boolean |
SearchTerminationStrategy.shouldSearchTerminate(Vertex origin,
Vertex target,
State current,
ShortestPathTree spt,
RoutingRequest traverseOptions) |
boolean |
MultiTargetTerminationStrategy.shouldSearchTerminate(Vertex origin,
Vertex target,
State current,
ShortestPathTree spt,
RoutingRequest traverseOptions)
Updates the list of reached targets and returns True if all the
targets have been reached.
|
boolean |
SkipEdgeStrategy.shouldSkipEdge(Vertex origin,
Vertex target,
State current,
Edge edge,
ShortestPathTree spt,
RoutingRequest traverseOptions) |
boolean |
SkipTraverseResultStrategy.shouldSkipTraversalResult(Vertex origin,
Vertex target,
State parent,
State current,
ShortestPathTree spt,
RoutingRequest traverseOptions) |
Modifier and Type | Method and Description |
---|---|
ShortestPathTree |
RoutingRequest.getNewShortestPathTree()
Create a new ShortestPathTree instance using the DominanceFunction specified in this RoutingRequest.
|
Modifier and Type | Method and Description |
---|---|
ShortestPathTree |
DominanceFunction.getNewShortestPathTree(RoutingRequest routingRequest)
Create a new shortest path tree using this function, considering whether it allows co-dominant States.
|
Constructor and Description |
---|
SPTWalker(ShortestPathTree spt) |
Modifier and Type | Method and Description |
---|---|
protected OtpsEvaluatedIndividual |
OtpsIndividual.eval(ShortestPathTree spt,
SampleFactory sampleFactory) |
Constructor and Description |
---|
OtpsSPT(ShortestPathTree spt,
SampleFactory sampleFactory) |
Modifier and Type | Method and Description |
---|---|
void |
ShowGraph.setSPT(ShortestPathTree spt) |
Copyright © 2018. All rights reserved.