Package | Description |
---|---|
org.transitime.db.structs |
Contains the descriptions of the classes for the objects that are read
and written to the database.
|
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 ArrivalDeparture.ArrivalsOrDepartures |
ArrivalDeparture.ArrivalsOrDepartures.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArrivalDeparture.ArrivalsOrDepartures[] |
ArrivalDeparture.ArrivalsOrDepartures.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ArrivalDeparture> |
ArrivalDeparture.getArrivalsDeparturesFromDb(java.util.Date beginTime,
java.util.Date endTime,
java.lang.String sqlClause,
int firstResult,
int maxResults,
ArrivalDeparture.ArrivalsOrDepartures arrivalOrDeparture)
Same as other getArrivalsDeparturesFromDb() but uses
-Dtransitime.db.dbName Java property to specify the name of the database.
|
static java.util.List<ArrivalDeparture> |
ArrivalDeparture.getArrivalsDeparturesFromDb(java.lang.String dbName,
java.util.Date beginTime,
java.util.Date endTime,
java.lang.String sqlClause,
int firstResult,
int maxResults,
ArrivalDeparture.ArrivalsOrDepartures arrivalOrDeparture)
Allows batch retrieval of data.
|
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.
|