Package | Description |
---|---|
gui.entities.sectionEntities.trackEntities | |
simulator.scheduler |
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
OverlapParameters |
BlockScheduler.setOverlapParameters(Link nextLink,
double profileStartingMilePost)
Set the overlapStartDistance, overlapEndDistance and overlap boolean
depending upon the block and the train.
|
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.
|
simulator.scheduler.BlockScheduler.LastOverlapBlock |
BlockScheduler.getLastOverlapBlock(Block blockIter,
OverlapParameters overlapParameters) |
boolean |
BlockScheduler.hasReachedOverlapEndDistance(Block block,
OverlapParameters overlapParameters)
Determine if the block depending upon the train's direction covers the
Global.overlapEndDistance
|