public class AdjustDwellTime extends TripFilter
Modifier and Type | Field and Description |
---|---|
int |
dwellTime
new dwell time in seconds
|
static long |
serialVersionUID |
Collection<String> |
stopId
Stops for which to set the dwell time
|
agencyId, routeId, routeType, tripId
warnings
Constructor and Description |
---|
AdjustDwellTime() |
Modifier and Type | Method and Description |
---|---|
FrequencyEntry |
apply(Trip trip,
TripPattern tp,
FrequencyEntry fe) |
TripTimes |
apply(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 Collection<String> stopId
public int dwellTime
public TripTimes apply(Trip trip, TripPattern tp, TripTimes tt)
TripFilter
apply
in class TripFilter
public FrequencyEntry apply(Trip trip, TripPattern tp, FrequencyEntry fe)
apply
in class TripFilter
public String getType()
Modification
getType
in class Modification
Copyright © 2019. All rights reserved.