public class UnscheduledTrain extends Train
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 |
---|
UnscheduledTrain() |
UnscheduledTrain(int dir,
double startTime,
double len,
double accParam,
double deceParam,
double priority) |
Modifier and Type | Method and Description |
---|---|
void |
readReferenceTableEntries(java.io.StreamTokenizer streamTokenizer,
int nEntries) |
void |
readTempReferenceTableEntries(java.io.StreamTokenizer streamTokenizer,
int nEntries) |
void |
setTrainProperties(java.io.StreamTokenizer unscheduledTrainStreamTokenizer,
int nTimeTableEntries) |
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 UnscheduledTrain(int dir, double startTime, double len, double accParam, double deceParam, double priority)
public UnscheduledTrain()
public void setTrainProperties(java.io.StreamTokenizer unscheduledTrainStreamTokenizer, int nTimeTableEntries) throws java.io.IOException
setTrainProperties
in class Train
java.io.IOException
public void readReferenceTableEntries(java.io.StreamTokenizer streamTokenizer, int nEntries) throws java.io.IOException
java.io.IOException
public void readTempReferenceTableEntries(java.io.StreamTokenizer streamTokenizer, int nEntries) throws java.io.IOException
java.io.IOException