public interface RaptorStateStore
Modifier and Type | Method and Description |
---|---|
int |
getPrev(TransitStop t)
get the best time for a given stop after the last round, including transfers
|
int |
getTime(TransitStop t)
get the best time for a given stop that was reached by transit (not by transfers)
|
Collection<TransitStop> |
getTouchedStopsIncludingTransfers()
get all the stops that were reached in the current round, either via transfers or directly
|
gnu.trove.iterator.TObjectIntIterator<TransitStop> |
iterator()
get an iterator over the states of this store
|
void |
proceed()
Proceed to the next round
|
boolean |
put(TransitStop stop,
int clockTime,
boolean transfer)
Add a state to this store, with the given clock time (seconds since midnight)
|
boolean put(TransitStop stop, int clockTime, boolean transfer)
void proceed()
int getTime(TransitStop t)
int getPrev(TransitStop t)
gnu.trove.iterator.TObjectIntIterator<TransitStop> iterator()
Collection<TransitStop> getTouchedStopsIncludingTransfers()
Copyright © 2019. All rights reserved.