public class AdjustHeadway extends TripFilter
Modifier and Type | Field and Description |
---|---|
int |
headway
The new headway, in seconds
|
static long |
serialVersionUID |
agencyId, routeId, routeType, tripId
warnings
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, matches
setType
public static final long serialVersionUID
public int headway
public TripTimes apply(org.onebusaway.gtfs.model.Trip trip, TripPattern tp, TripTimes tt)
TripFilter
apply
in class TripFilter
public FrequencyEntry apply(org.onebusaway.gtfs.model.Trip trip, TripPattern tp, FrequencyEntry fe)
apply
in class TripFilter
public String getType()
Modification
getType
in class Modification
Copyright © 2018. All rights reserved.