public class AdjustHeadway extends TripFilter
| Modifier and Type | Field and Description |
|---|---|
int |
headway
The new headway, in seconds
|
static long |
serialVersionUID |
agencyId, routeId, routeType, tripIdwarnings| Constructor and Description |
|---|
AdjustHeadway() |
| Modifier and Type | Method and Description |
|---|---|
FrequencyEntry |
apply(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
FrequencyEntry fe) |
TripTimes |
apply(org.onebusaway.gtfs.model.Trip trip,
TripPattern tp,
TripTimes tt)
Apply this modification to a Trip/ Do not modify the original trip times as they are part of the graph!
|
String |
getType()
Distinguish between modification types when a list of Modifications are serialized out as JSON.
|
couldMatch, matchessetTypepublic static final long serialVersionUID
public int headway
public TripTimes apply(org.onebusaway.gtfs.model.Trip trip, TripPattern tp, TripTimes tt)
TripFilterapply in class TripFilterpublic FrequencyEntry apply(org.onebusaway.gtfs.model.Trip trip, TripPattern tp, FrequencyEntry fe)
apply in class TripFilterpublic String getType()
ModificationgetType in class ModificationCopyright © 2018. All rights reserved.