Package | Description |
---|---|
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 |
---|---|
static ScheduleDataProcessor.TripStopKey |
ScheduleDataProcessor.getTripStopKey(java.lang.String tripId,
java.lang.String stopId)
For use in the sub-maps of arrivalTimesFromDbByRouteByTripStopMap and
departureTimesFromDbByRouteByTripStopMap.
|
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.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.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.
|
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.
|
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.
|