Class BusStopConflictRule
java.lang.Object
org.opentrafficsim.road.network.lane.conflict.BusStopConflictRule
- All Implemented Interfaces:
- ConflictRule
Conflict rule for conflicts where busses enter the lane after a stop.
 
 Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- 
Constructor SummaryConstructorsConstructorDescriptionBusStopConflictRule(OtsSimulatorInterface simulator, GtuType busType) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptiondeterminePriority(Conflict conflict) Determines the priority for the given conflict.final StringtoString()
- 
Constructor Details- 
BusStopConflictRuleConstructor.- Parameters:
- simulator- OtsSimulatorInterface; simulator
- busType- GtuType; GTU type for buses.
 
 
- 
- 
Method Details- 
determinePriorityDetermines the priority for the given conflict.- Specified by:
- determinePriorityin interface- ConflictRule
- Parameters:
- conflict- Conflict; conflict
- Returns:
- priority for the given conflict
 
- 
toString
 
-