public class RoundBasedProfileRouter extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CUTOFF_SECONDS |
Graph |
graph |
int |
MAX_ROUNDS
the maximum number of rounds.
|
ProfileRequest |
request |
static boolean |
RETAIN_PATTERNS |
com.google.common.collect.Multimap<TransitStop,ProfileState> |
retainedStates |
int |
TIMEOUT |
TimeSurface.RangeSet |
timeSurfaceRangeSet
the routing results
|
TimeWindow |
window |
Constructor and Description |
---|
RoundBasedProfileRouter(Graph graph,
ProfileRequest request) |
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
Collection<ProfileState> |
nondominated(Collection<ProfileState> original,
TransitStop tstop)
from a collection of profile states at a transit stop, return a collection of all the nondominated states
|
void |
route() |
public final Graph graph
public final ProfileRequest request
public TimeWindow window
public final int TIMEOUT
public final int MAX_ROUNDS
public static final int CUTOFF_SECONDS
public static boolean RETAIN_PATTERNS
public com.google.common.collect.Multimap<TransitStop,ProfileState> retainedStates
public TimeSurface.RangeSet timeSurfaceRangeSet
public RoundBasedProfileRouter(Graph graph, ProfileRequest request)
public void route()
public Collection<ProfileState> nondominated(Collection<ProfileState> original, TransitStop tstop)
public void cleanup()
Copyright © 2018. All rights reserved.