| 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)
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,
               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,
                    Lane lane1,
                    org.djunits.value.vdouble.scalar.Length longitudinalPosition1,
                    org.djunits.value.vdouble.scalar.Length length1,
                    org.opentrafficsim.core.geometry.OTSLine3D geometry1,
                    ConflictRule conflictRule1,
                    Lane lane2,
                    org.djunits.value.vdouble.scalar.Length longitudinalPosition2,
                    org.djunits.value.vdouble.scalar.Length length2,
                    org.opentrafficsim.core.geometry.OTSLine3D geometry2,
                    ConflictRule conflictRule2)
Creates a pair of conflicts. 
 | 
Copyright © 2014–2016 Delft University of Technology. All rights reserved.