public class StopTreeCache extends Object
Modifier and Type | Field and Description |
---|---|
Map<TransitStop,int[]> |
distancesForStop |
Constructor and Description |
---|
StopTreeCache(Graph graph,
int maxWalkMeters) |
Modifier and Type | Method and Description |
---|---|
void |
propagateStop(TransitStop transitStop,
int baseTimeSeconds,
double walkSpeed,
int[] targetArray)
Given a travel time to a transit stop, fill in the array with minimum travel times to all nearby street vertices.
|
public final Map<TransitStop,int[]> distancesForStop
public StopTreeCache(Graph graph, int maxWalkMeters)
public void propagateStop(TransitStop transitStop, int baseTimeSeconds, double walkSpeed, int[] targetArray)
Copyright © 2019. All rights reserved.