Changed getAvlReportsFromDb() so that can specify a SQL clause, such as
"ORDER BY time" to order the results in desired way.
Changed getAvlReportsFromDb() so that can specify a SQL clause, such as
"ORDER BY time" to order the results in desired way.
Added postgres jar.
Added /bin/ to filter out something I don't even remember.
Initial checkin.
Added toString() so can use the object directly without having to call
getValue().
Improved comment. No functional changes.
Changed initial matching so that only favor a regular match over a
layover if the layover is not first. This is important because if would
deprecate the layover for initial matching when vehicle at first
layover, as was done previously, then would not match to first layover
of trip. This is important if vehicle happens to be at layover when
vehicle is initially matched to the block during startup.
Changed so that stop lat & lon can be overritten using a suplemntal
stops.txt file.
Improved comment. No functional changes.
Removed unneeded blank line. No functional changes.
Changed to prevent NPE if supplemental stops.txt file contains stop ID
that is not in the main stops.txt file. Instead, an error is logged.
Many changes so that can determine prediction accuracy info in db. This
is done by having separate PredictionAccuracyModule running that stores
sample of predictions in memory. These can be both internal predictions
and ones obtained from external API. Then when arrivals/departures are
determined the accuracy of the corresponding predictions stored in
memory is determined and the result is stored in the database.