public class PassengerTrain extends ScheduledTrain
accParam, bookedSpeed, deceParam, departTime, direction, endLoopNo, length, maximumPossibleSpeed, numberofhalts, operatingDays, priority, refTables, scheduled, startLoopNo, startTime, startTimeInput, stationToStationSchedulerStack, trainComparator, trainId, trainNo
BLOCK_ENTITY, LINK_ENTITY, LOOP_ENTITY
Constructor and Description |
---|
PassengerTrain(int priority,
double startTime,
double length,
double acceleration,
double deceleration) |
PassengerTrain(int a,
double b,
double c,
double d,
double e,
int f) |
PassengerTrain(int dir,
int prior,
double len) |
PassengerTrain(java.lang.String a) |
Modifier and Type | Method and Description |
---|---|
void |
setTrainProperties(java.io.StreamTokenizer trainStreamTokenizer,
int nTimeTableEntries) |
getOperatingDays, getPathLoopList, readReferenceTableEntries, setOperatingDays, setPathLoopList
compare, copyTimeTablesFromTrain, getAcceleration, getAccParam, getActionableTime, getBlocksByMaxTimeTaken, getBlocksTraversedByTrain, getBookedSpeed, getCurrentLoop, getDeceleration, getDeceParam, getDepartTime, getDestinationLoopNumber, getDirection, getDirectionString, getDrawColour, getEndLoopNo, getEndStation, getLastLoopNo, getLength, getMaximumPossibleSpeed, getNextReferenceLoop, getOriginLoop, getPreviousRakeLinkNo, getPreviousRakeLinkTrain, getPriority, getRakeLinkNo, getRakeLinkTrain, getRefTabEntryFromStationName, getRefTables, getSignalFailCounter, getSignalFailedBlocks, getStartLoopNo, getStartTime, 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, 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, int prior, double len)
dir
- prior
- len
- public PassengerTrain(int 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