Package | Description |
---|---|
gui.entities.sectionEntities.trackEntities | |
simulator.scheduler |
Modifier and Type | Method and Description |
---|---|
RunTimeReturn |
Block.calculateWarnerVelocityProfile(Train train,
int signal,
double arrivalTime,
Block nextBlock,
RunTimeReturn runtimereturn,
double finalVelocity,
double warnerDistance,
SimulationInstance simulationInstance,
int maxSignalAspectsToBeConsidered) |
RunTimeReturn |
Block.getNonOverlappingRunTimeReturn(Train train,
VelocityProfileArray velocityProfileArray,
double startMilePost,
double endMilePost,
double linkMilePost,
Link previousLink) |
RunTimeReturn |
Block.getNonOverlappingRunTimeSignal(Train train,
int signal,
double startVelocity,
double endVelocity,
Link previousLink,
Link nextLink,
double profileStartingMilePost,
boolean enteredOnYellow)
1) It does some signal handling.
|
RunTimeReturn |
Block.getOverlappingRunTimeReturn(Train train,
VelocityProfileArray velocityprofilearray,
OverlapParameters overlapParameters)
Get the
RunTimeReturn for the block and the overlapping part of the
train after it just exits the block. |
RunTimeReturn |
Block.getRunTimeVelocity(Train Train,
double d,
double d1) |
Modifier and Type | Method and Description |
---|---|
RunTimeReturn |
Block.calculateWarnerVelocityProfile(Train train,
int signal,
double arrivalTime,
Block nextBlock,
RunTimeReturn runtimereturn,
double finalVelocity,
double warnerDistance,
SimulationInstance simulationInstance,
int maxSignalAspectsToBeConsidered) |
Modifier and Type | Method and Description |
---|---|
RunTimeReturn |
BlockScheduler.getRunTimeReturnConsideringWarner(Link link,
int signal,
double arrivalTime,
boolean linkPriorityIsNotOne,
RunTimeReturn runTimeReturn,
double warnerDistance,
int maxSignalAspectsToBeConsidered)
If there is a need to consider the warner distance, get the new
RunTimeReturn for the modified block considering the warner distance |
Modifier and Type | Method and Description |
---|---|
double |
BlockScheduler.calculateTotalTimeTillEnd(RunTimeReturn runTimeReturn,
Block nextBlock,
double arrivalTime,
Link nextLink,
double profileStartingMilePost,
OverlapParameters overlapParameters,
boolean enteredOnYellow)
Calculate the time since the head of the train leaves the currentBlock till
the tail of the train leaves currentBlock.
|
RunTimeReturn |
BlockScheduler.getRunTimeReturnConsideringWarner(Link link,
int signal,
double arrivalTime,
boolean linkPriorityIsNotOne,
RunTimeReturn runTimeReturn,
double warnerDistance,
int maxSignalAspectsToBeConsidered)
If there is a need to consider the warner distance, get the new
RunTimeReturn for the modified block considering the warner distance |
StatusTraverseBlock |
BlockScheduler.reserveBlocksAndGetCurrentSTP(Link nextLink,
Link previousLink,
double tempDepartureTime,
RunTimeReturn runtimereturn,
int nFreeBlocksToBeTraversed,
double arrivalTime,
double totalTimeTillEnd,
int signal,
double profileStartingMilePost,
int nextReferenceLoopNumber)
Get the
StatusTraverseBlock for the current block if the scheduling
for the next block is successful. |