public class CFBARoomChecker extends CFRoomChecker
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
CFBARoomChecker() |
Modifier and Type | Method and Description |
---|---|
protected double |
headwayFactor(Speed desiredSpeed,
Length desiredHeadway,
Speed generationSpeed,
Length generationHeadway,
Length leaderLength)
Returns a situation dependent headway factor to deal with spillback.
|
canPlace
protected double headwayFactor(Speed desiredSpeed, Length desiredHeadway, Speed generationSpeed, Length generationHeadway, Length leaderLength)
headwayFactor
in class CFRoomChecker
desiredSpeed
- Speed; desired speeddesiredHeadway
- Length; desired headway at desired speedgenerationSpeed
- Speed; generation speedgenerationHeadway
- Length; desired headway at generation speedleaderLength
- Length; length of the leaderCopyright © 2014–2019 Delft University of Technology. All rights reserved.