public class ScheduledTrain extends Train
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 |
---|
ScheduledTrain() |
ScheduledTrain(int priority,
double startTime,
double length,
double acceleration,
double deceleration) |
ScheduledTrain(int a,
double b,
double c,
double d,
double e,
int f) |
ScheduledTrain(Train simulatorTrain) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOperatingDays() |
LoopList |
getPathLoopList() |
void |
readReferenceTableEntries(java.io.StreamTokenizer streamTokenizer,
int nEntries) |
void |
setOperatingDays(java.lang.String operatingDays) |
void |
setPathLoopList(LoopList pathLoopList) |
void |
setTrainProperties(java.io.StreamTokenizer scheduledTrainStreamTokenizer,
int nTimeTableEntries) |
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 ScheduledTrain()
public ScheduledTrain(Train simulatorTrain)
public ScheduledTrain(int a, double b, double c, double d, double e, int f)
public ScheduledTrain(int priority, double startTime, double length, double acceleration, double deceleration)
public void setTrainProperties(java.io.StreamTokenizer scheduledTrainStreamTokenizer, int nTimeTableEntries) throws java.io.IOException
setTrainProperties
in class Train
java.io.IOException
public java.lang.String getOperatingDays()
public void setOperatingDays(java.lang.String operatingDays)
public LoopList getPathLoopList()
public void setPathLoopList(LoopList pathLoopList)
public void readReferenceTableEntries(java.io.StreamTokenizer streamTokenizer, int nEntries) throws java.io.IOException
java.io.IOException