Package | Description |
---|---|
org.opentrafficsim.road.gtu.lane.perception.headway |
Copyright (c) 2013-2016 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 |
---|---|
ConflictRule |
HeadwayConflict.getConflictRule()
Returns the conflict rule.
|
Constructor and Description |
---|
HeadwayConflict(ConflictType conflictType,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> downstreamConflictingGTUs,
org.djunits.value.vdouble.scalar.Length conflictingVisibility,
org.djunits.value.vdouble.scalar.Speed conflictingSpeedLimit,
CrossSectionLink conflictingLink)
Constructor without stop lines.
|
HeadwayConflict(ConflictType conflictType,
ConflictRule conflictRule,
String id,
org.djunits.value.vdouble.scalar.Length distance,
org.djunits.value.vdouble.scalar.Length length,
org.djunits.value.vdouble.scalar.Length conflictingLength,
SortedSet<AbstractHeadwayGTU> upstreamConflictingGTUs,
SortedSet<AbstractHeadwayGTU> 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 | Method and Description |
---|---|
ConflictRule |
Conflict.getConflictRule() |
static ConflictRule |
ConflictRule.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConflictRule[] |
ConflictRule.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static void |
Conflict.generateConflictPair(ConflictType conflictType,
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,
ConflictRule conflictRule1,
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,
ConflictRule conflictRule2,
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.