public class FrequencyEntry extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
int |
endTime |
boolean |
exactTimes |
int |
headway |
int |
startTime |
TripTimes |
tripTimes |
Constructor and Description |
---|
FrequencyEntry(org.onebusaway.gtfs.model.Frequency freq,
TripTimes tripTimes) |
FrequencyEntry(int startTime,
int endTime,
int headway,
boolean exactTimes,
TripTimes tripTimes) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxArrival() |
int |
getMinDeparture() |
TripTimes |
materialize(int stop,
int time,
boolean depart)
Returns a disposable TripTimes for this frequency entry in which the vehicle
passes the given stop index (not stop sequence number) at the given time.
|
int |
nextDepartureTime(int stop,
int time) |
int |
numTrips() |
int |
prevArrivalTime(int stop,
int t) |
String |
toString() |
public final int startTime
public final int endTime
public final int headway
public final boolean exactTimes
public final TripTimes tripTimes
public FrequencyEntry(org.onebusaway.gtfs.model.Frequency freq, TripTimes tripTimes)
public FrequencyEntry(int startTime, int endTime, int headway, boolean exactTimes, TripTimes tripTimes)
public int nextDepartureTime(int stop, int time)
public int prevArrivalTime(int stop, int t)
public TripTimes materialize(int stop, int time, boolean depart)
public int numTrips()
public int getMinDeparture()
public int getMaxArrival()
Copyright © 2018. All rights reserved.