Package | Description |
---|---|
org.transitime.gtfs |
Contains classes for reading and writing GTFS configuration data.
|
org.transitime.gtfs.gtfsStructs |
Contains the classes the correspond directly to the GTFS data.
|
org.transitime.gtfs.readers |
For reading in a GTFS file in CSV format.
|
org.transitime.gtfs.writers |
For writing GTFS configuration data in CSV format to files.
|
org.transitime.statistics |
Contains statistics classes such as for generating more accurate schedule
times by using GPS information on when the vehicles really do depart.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<GtfsStopTime> |
GtfsData.getGtfsStopTimesForTrip(java.lang.String tripId)
Returns list of GtfsStopTimes for the trip specified
|
Modifier and Type | Class and Description |
---|---|
class |
GtfsExtendedStopTime
For when generating more accurate schedule times using AVL data.
|
Modifier and Type | Method and Description |
---|---|
int |
GtfsStopTime.compareTo(GtfsStopTime arg0)
So can use Collections.sort() to sort an Array of GtfsStopTime objects by
stop sequence.
|
Constructor and Description |
---|
GtfsExtendedStopTime(GtfsStopTime originalValues,
boolean useOriginalTimes,
ScheduleStatistics.Stats arrivalResults,
ScheduleStatistics.Stats departureResults) |
GtfsStopTime(GtfsStopTime originalStopTime,
GtfsStopTime supplementStopTime)
When combining a regular stop time with a supplemental one need to
create a whole new object since this class is Immutable to make it safer
to use.
|
GtfsStopTime(GtfsStopTime originalValues,
java.lang.Integer newArrivalTimeSecs)
For when need to create a GtfsStopTime that is a wait stop.
|
Modifier and Type | Method and Description |
---|---|
GtfsStopTime |
GtfsStopTimesSupplementReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
GtfsStopTime |
GtfsStopTimesReader.handleRecord(org.apache.commons.csv.CSVRecord record,
boolean supplemental) |
Modifier and Type | Method and Description |
---|---|
void |
GtfsStopTimesWriter.write(GtfsStopTime stopTime)
Writes a GtfsStopTime to the file
|
Modifier and Type | Method and Description |
---|---|
static void |
ScheduleStatistics.determineStatsForRoute(java.util.Map<ScheduleDataProcessor.TripStopKey,GtfsStopTime> originalGtfsStopTimes,
java.util.Map<ScheduleDataProcessor.TripStopKey,java.util.List<java.lang.Integer>> timesFromDbByTripStopForRouteSubMap,
java.util.Map<ScheduleDataProcessor.TripStopKey,ScheduleStatistics.Stats> statsResultsByTripStopMap,
java.lang.String routeId,
int allowableDifferenceFromMeanSecs,
int allowableDifferenceFromOriginalTimeSecs,
double desiredFractionEarly,
ArrivalDeparture.ArrivalsOrDepartures arrivalsOrDepartures)
For the route specified first determines the basic stats including the
mean and standard deviation.
|
static void |
ScheduleStatistics.processScheduleAdherence(java.util.Map<ScheduleDataProcessor.TripStopKey,GtfsStopTime> gtfsStopTimes,
java.util.Map<ScheduleDataProcessor.TripStopKey,ScheduleStatistics.Stats> arrivalStatsResultsByTripStopMap,
java.util.Map<ScheduleDataProcessor.TripStopKey,ScheduleStatistics.Stats> departureStatsResultsByTripStopMap,
int allowableEarlySecs,
int allowableLateSecs)
Determines and logs schedule adherence results both using the original
schedule and using the new improved schedule.
|