public class PassengerTrain extends ScheduledTrain
accParam, AllLoops, bookedSpeed, deceParam, departTime, direction, endLoopNo, length, maximumPossibleSpeed, numberofhalts, operatingDays, priority, refTables, scheduled, startLoopNo, startTime, startTimeInput, stationToStationSchedulerStack, tempRefTables, trainComparator, trainId, trainNo
BLOCK_ENTITY, LINK_ENTITY, LOOP_ENTITY
Constructor and Description |
---|
PassengerTrain(double priority,
double startTime,
double length,
double acceleration,
double deceleration) |
PassengerTrain(int dir,
double prior,
double len) |
PassengerTrain(int a,
double b,
double c,
double d,
double e,
int f) |
PassengerTrain(java.lang.String a) |
Modifier and Type | Method and Description |
---|---|
void |
setTrainProperties(java.io.StreamTokenizer trainStreamTokenizer,
int nTimeTableEntries) |
getOperatingDays, getPathLoopList, readReferenceTableEntries, readTempReferenceTableEntries, setOperatingDays, setPathLoopList
compare, copyTimeTablesFromTrain, getAcceleration, getAccParam, getActionableTime, getBlocksByMaxTimeTaken, getBlocksTraversedByTrain, getBookedSpeed, getCurrentLoop, getDeceleration, getDeceParam, getDepartTime, getDestinationLoopNumber, getDirection, getDirectionString, getDrawColour, getEndLoopNo, getEndStation, getLastLoopNo, getLength, getMaximumPossibleSpeed, getNextReferenceLoop, getNumberofHalts, getOriginLoop, getPreviousRakeLinkNo, getPreviousRakeLinkTrain, getPriority, getRakeLinkNo, getRakeLinkTrain, getRefTabEntryFromStationName, getRefTables, getSignalFailCounter, getSignalFailedBlocks, getStartLoopNo, getStartTime, getTempRefTables, getTimeTables, getTimeTablesHaltsOnly, getTrainNo, getVelocity, getVelocityProfileFromMilepost, getVelocityProfileList, hasError, hasReachedDestination, hasScheduledHalt, isScheduled, isScheduledTillEnd, isStartLoop, isSuburban, printAttributes, printDiscontinuity, printPathBlockOccupancies, printTimeTable, printVelocityProfileForTrain, readTrain, setAcceleration, setAccParam, setBookedSpeed, setDeceleration, setDeceParam, setDepartTime, setDirection, setDrawColour, setEndLoopNo, setEndStation, setLength, setMaximumPossibleSpeed, setNumberofHalts, setPreviousRakeLinkNo, setPreviousRakeLinkTrain, setPriority, setRakeId, setRakeLinkNo, setRakeLinkTrain, setRefTables, setScheduled, setScheduledTillEnd, setSignalFailCounter, setSignalFailedBlocks, setStartLoopNo, setStartTime, setTimesForVelocityProfiles, setTimeTables, setTrainNo, setVelocity, totalTime, travelTime
getEntityType, isBlock, isLink, isLoop, setEntityType
public PassengerTrain(int a, double b, double c, double d, double e, int f)
a
- b
- c
- d
- e
- f
- public PassengerTrain(int dir, double prior, double len)
dir
- prior
- len
- public PassengerTrain(double priority, double startTime, double length, double acceleration, double deceleration)
a
- b
- c
- d
- e
- public PassengerTrain(java.lang.String a)
a
- public void setTrainProperties(java.io.StreamTokenizer trainStreamTokenizer, int nTimeTableEntries) throws java.io.IOException
setTrainProperties
in class ScheduledTrain
java.io.IOException