public class PassengerTrain extends ScheduledTrain
accParam, bookedSpeed, deceParam, departTime, direction, endLoopNo, length, maximumPossibleSpeed, numberofhalts, operatingDays, priority, refTables, scheduled, startLoopNo, startTime, startTimeInput, stationToStationSchedulerStack, trainComparator, trainId, trainNoBLOCK_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, setPathLoopListcompare, 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, travelTimegetEntityType, isBlock, isLink, isLoop, setEntityTypepublic PassengerTrain(int a,
              double b,
              double c,
              double d,
              double e,
              int f)
public PassengerTrain(int dir,
              int prior,
              double len)
dir-stores - the direction of the passenger trainprior-stores - the priority of the trainlen-stores - the length of the trainpublic PassengerTrain(int priority,
              double startTime,
              double length,
              double acceleration,
              double deceleration)
priority - stores the priority of the trainstartTime - stores the starting time of the trainlength - stores the length of the trainacceleration - calculates and stores the acceleration of the traindecelaration - calculates and stores deceleration of the trainpublic PassengerTrain(java.lang.String a)
a-stores - the number of operating dayspublic void setTrainProperties(java.io.StreamTokenizer trainStreamTokenizer,
                      int nTimeTableEntries)
                        throws java.io.IOException
setTrainProperties in class ScheduledTrainjava.io.IOException