Package | Description |
---|---|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2017 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,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<HeadwayGTU> upstreamConflictingGTUs,
SortedSet<HeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictPriority conflictPriority,
Class<? extends ConflictRule> conflictRuleType,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<HeadwayGTU> upstreamConflictingGTUs,
SortedSet<HeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink,
HeadwayStopLine stopLine,
HeadwayStopLine conflictingStopLine)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
BusStopConflictRule
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
DefaultConflictRule
Default determination of priority based on link priority, or right-hand traffic.
|
class |
SplitConflictRule
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Method and Description |
---|---|
ConflictRule |
SplitConflictRule.clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
DefaultConflictRule.clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
ConflictRule.clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface newSimulator)
Creates a clone of the conflict rule.
|
ConflictRule |
BusStopConflictRule.clone(org.opentrafficsim.core.dsol.OTSSimulatorInterface 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,
org.djunits.value.vdouble.scalar.Length longitudinalPosition1,
org.djunits.value.vdouble.scalar.Length length1,
org.opentrafficsim.core.gtu.GTUDirectionality direction1,
org.opentrafficsim.core.geometry.OTSLine3D geometry1,
org.opentrafficsim.core.gtu.GTUType gtuType1,
Lane lane2,
org.djunits.value.vdouble.scalar.Length longitudinalPosition2,
org.djunits.value.vdouble.scalar.Length length2,
org.opentrafficsim.core.gtu.GTUDirectionality direction2,
org.opentrafficsim.core.geometry.OTSLine3D geometry2,
org.opentrafficsim.core.gtu.GTUType gtuType2,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Creates a pair of conflicts.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.