Package | Description |
---|---|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
org.opentrafficsim.road.network.lane.conflict |
Contains classes describing intersection conflicts.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends ConflictRule> |
HeadwayConflict.getConflictRuleType()
Returns the conflict rule type.
|
Constructor and Description |
---|
HeadwayConflict(ConflictType conflictType,
ConflictPriority conflictPriority,
Class<? extends ConflictRule> conflictRuleType,
String id,
Length distance,
Length length,
Length conflictingLength,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs,
Length conflictingVisibility,
Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink,
HeadwayConflict.Width width)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictPriority conflictPriority,
Class<? extends ConflictRule> conflictRuleType,
String id,
Length distance,
Length length,
Length conflictingLength,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> upstreamConflictingGTUs,
PerceptionCollectable<HeadwayGTU,LaneBasedGTU> downstreamConflictingGTUs,
Length conflictingVisibility,
Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink,
HeadwayConflict.Width width,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BusStopConflictRule
Conflict rule for conflicts where busses enter the lane after a stop.
|
class |
DefaultConflictRule
Default determination of priority based on link priority, or right-hand traffic.
|
class |
SplitConflictRule
Conflict rule for split conflicts.
|
Modifier and Type | Method and Description |
---|---|
ConflictRule |
SplitConflictRule.clone(SimulatorInterface.TimeDoubleUnit newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
DefaultConflictRule.clone(SimulatorInterface.TimeDoubleUnit newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
ConflictRule.clone(SimulatorInterface.TimeDoubleUnit newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
BusStopConflictRule.clone(SimulatorInterface.TimeDoubleUnit newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
Conflict.getConflictRule() |
Modifier and Type | Method and Description |
---|---|
static void |
Conflict.generateConflictPair(ConflictType conflictType,
ConflictRule conflictRule,
boolean permitted,
Lane lane1,
Length longitudinalPosition1,
Length length1,
GTUDirectionality direction1,
OTSLine3D geometry1,
GTUType gtuType1,
Lane lane2,
Length longitudinalPosition2,
Length length2,
GTUDirectionality direction2,
OTSLine3D geometry2,
GTUType gtuType2,
DEVSSimulatorInterface.TimeDoubleUnit simulator)
Creates a pair of conflicts.
|
Copyright © 2014–2018 Delft University of Technology. All rights reserved.