public class CoreConfig
extends java.lang.Object
Constructor and Description |
---|
CoreConfig() |
Modifier and Type | Method and Description |
---|---|
static boolean |
exclusiveBlockAssignments()
True if block assignments should be exclusive.
|
static double |
getAfterStopDistance()
How far a vehicle can be past a stop in meters and still be considered at
the stop.
|
static int |
getAllowableEarlyDepartureTimeForLoggingEvent()
How early in seconds a vehicle can departure a terminal before it registers
a VehicleEvent indicating a problem.
|
static int |
getAllowableEarlyForLayoverSeconds()
How early a vehicle can be and still be matched to a layover.
|
static int |
getAllowableEarlySeconds()
How early a vehicle can be and still be matched to its block assignment.
|
static int |
getAllowableEarlySecondsForInitialMatching()
How early a vehicle can be and still be matched to its block assignment.
|
static int |
getAllowableEarlyTimeForEarlyDepartureSecs()
How early in seconds a vehicle can have left terminal and have it be considered an
early departure instead of just moving around within the layover.
|
static int |
getAllowableLateAtTerminalForLoggingEvent()
If a vehicle is just sitting at a terminal and provides another GPS
report indicating that it is more than this much later, in seconds, than
the configured departure time then a VehicleEvent is created to record
the problem.
|
static int |
getAllowableLateDepartureTimeForLoggingEvent()
How late in seconds a vehicle can departure a terminal before it registers
a VehicleEvent indicating a problem.
|
static int |
getAllowableLateSeconds()
How late a vehicle can be and still be matched to its block assignment.
|
static int |
getAllowableLateSecondsForInitialMatching()
How late a vehicle can be and still be matched to its block assignment.
|
static int |
getAllowableNumberOfBadMatches()
How many bad spatial/temporal matches a predictable vehicle can have in a
row before the vehicle is made unpredictable.
|
static int |
getAvlHistoryMaxSize() |
static double |
getBeforeStopDistance()
How far a vehicle can be before a stop in meters and be considered to
have arrived.
|
static float |
getDeadheadingShortVersusLongDistance()
For determining if enough time to deadhead to beginning of a trip.
|
static int |
getDefaultBreakTimeSec()
How far a vehicle can be past a stop in meters and still be considered at
the stop.
|
static double |
getDistanceBetweenAvlsForInitialMatchingWithoutHeading()
For initial matching vehicle to assignment when there isn't any heading
information.
|
static double |
getDistanceFromEndOfBlockForInitialMatching()
For initial matching of vehicle to block assignment.
|
static double |
getDistanceFromLastStopForEndMatching()
How close vehicle needs to be from the last stop of the block such that
the next AVL report should possibly be considered to match to the end of
the block.
|
static double |
getDistanceFromLayoverForEarlyDeparture()
How far along path past a layover stop a vehicle needs to be in order for
it to be considered an early departure instead of just moving around
within the layover.
|
static double |
getEarlyToLateRatio()
How much worse it is for a vehicle to be early as opposed to late when
determining schedule adherence.
|
static double |
getLayoverDistance()
How far vehicle can be away from layover stop and still match to it.
|
static float |
getLongDistanceDeadheadingSpeed() |
static int |
getMatchHistoryMaxSize() |
static double |
getMaxDistanceFromSegment()
How far a location can be from a path segment and still be considered
a match.
|
static float |
getMaxHeadingOffsetFromSegment()
How far heading in degrees of vehicle can be away from path segment
and still be considered a match.
|
static int |
getMaxPredictionsTimeForDbSecs()
For determining if prediction should be stored in db.
|
static double |
getMinDistanceForDelayed()
transitime.core.minDistanceForDelayed
|
static double |
getMinDistanceForNoProgress() |
static java.util.List<java.lang.String> |
getOptionalModules()
The semicolon separated list of names of all of the modules that should
be automatically started.
|
static java.lang.String |
getPidFileDirectory() |
static float |
getShortDistanceDeadheadingSpeed() |
static int |
getTimeForDeterminingDelayedSecs()
transitime.core.timeForDeterminingDelayedSecs
|
static int |
getTimeForDeterminingNoProgress() |
static boolean |
onlyNeedArrivalDepartures()
When batching large amount of AVL data through system to generate
improved schedule time (as has been done for Zhengzhou) it takes huge
amount of time to process everything.
|
static boolean |
pauseIfDbQueueFilling()
When in batch mode can flood db with lots of objects.
|
static boolean |
storeDataInDatabase()
When in playback mode or some other situations don't want to store
generated data such as arrivals/departures, events, and such to the
database because only debugging.
|
public static boolean storeDataInDatabase()
public static boolean onlyNeedArrivalDepartures()
public static boolean pauseIfDbQueueFilling()
public static java.util.List<java.lang.String> getOptionalModules()
public static double getMaxDistanceFromSegment()
public static int getAllowableNumberOfBadMatches()
public static float getMaxHeadingOffsetFromSegment()
public static double getDistanceFromEndOfBlockForInitialMatching()
public static double getDistanceFromLastStopForEndMatching()
public static float getDeadheadingShortVersusLongDistance()
public static float getShortDistanceDeadheadingSpeed()
public static float getLongDistanceDeadheadingSpeed()
public static int getMaxPredictionsTimeForDbSecs()
public static int getAllowableEarlyForLayoverSeconds()
public static int getAllowableEarlySeconds()
public static int getAllowableLateSeconds()
public static int getAllowableEarlySecondsForInitialMatching()
public static int getAllowableLateSecondsForInitialMatching()
public static double getDistanceBetweenAvlsForInitialMatchingWithoutHeading()
public static double getDistanceFromLayoverForEarlyDeparture()
Related to getAllowableEarlyTimeForEarlyDeparture().
public static double getLayoverDistance()
public static int getAllowableEarlyTimeForEarlyDepartureSecs()
Related to getDistanceFromLayoverForEarlyDeparture()
public static int getAllowableEarlyDepartureTimeForLoggingEvent()
public static int getAllowableLateDepartureTimeForLoggingEvent()
public static int getAllowableLateAtTerminalForLoggingEvent()
public static double getBeforeStopDistance()
public static double getAfterStopDistance()
public static int getDefaultBreakTimeSec()
public static double getEarlyToLateRatio()
public static boolean exclusiveBlockAssignments()
public static int getTimeForDeterminingNoProgress()
public static double getMinDistanceForNoProgress()
public static int getTimeForDeterminingDelayedSecs()
public static double getMinDistanceForDelayed()
public static int getMatchHistoryMaxSize()
public static int getAvlHistoryMaxSize()
public static java.lang.String getPidFileDirectory()