public static class OvertakingConditions.LeftSetRightSpeed extends Object implements OvertakingConditions, Serializable
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.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Sep 13, 2015OvertakingConditions.LeftAlwaysRightJam, OvertakingConditions.LeftAlwaysRightSpeed, OvertakingConditions.LeftAndRight, OvertakingConditions.LeftOnly, OvertakingConditions.LeftSet, OvertakingConditions.LeftSetRightJam, OvertakingConditions.LeftSetRightSpeed, OvertakingConditions.None, OvertakingConditions.RightAlwaysLeftJam, OvertakingConditions.RightAlwaysLeftSpeed, OvertakingConditions.RightOnly, OvertakingConditions.RightSet, OvertakingConditions.RightSetLeftJam, OvertakingConditions.RightSetLeftSpeed, OvertakingConditions.SameLaneBoth, OvertakingConditions.SameLaneLeft, OvertakingConditions.SameLaneRight
Constructor and Description |
---|
LeftSetRightSpeed(Collection<GTUType> overtakingGTUs,
Collection<GTUType> overtakenGTUs,
Speed rightOvertakingSpeedMax)
Provide a collection of GTUs that can overtake another collection of GTUs on the left, but not vice versa.
|
public LeftSetRightSpeed(Collection<GTUType> overtakingGTUs, Collection<GTUType> overtakenGTUs, Speed rightOvertakingSpeedMax)
overtakingGTUs
- Collection<GTUType>; the GTUs that can overtake a set of other GTUs, e.g., CAR, TRUCK.overtakenGTUs
- Collection<GTUType>; the GTUs that can be overtaken, e.g., BICYCLE, SCOOTER.rightOvertakingSpeedMax
- Speed; the speed under which overtaking on the "wrong" side is allowedCopyright © 2014–2019 Delft University of Technology. All rights reserved.