public class RemoveTrip extends TripFilter
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
agencyId, routeId, routeType, tripId
warnings
Constructor and Description |
---|
RemoveTrip() |
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 String getType()
Modification
getType
in class Modification
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
Copyright © 2019. All rights reserved.