Class ConflictBuilderParallel.ConflictBuilderRecord
- java.lang.Object
-
- org.opentrafficsim.road.network.lane.conflict.ConflictBuilderParallel.ConflictBuilderRecord
-
- Enclosing class:
- ConflictBuilderParallel
static class ConflictBuilderParallel.ConflictBuilderRecord extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) GTUDirectionality
dir1
(package private) GTUDirectionality
dir2
(package private) ImmutableMap<Lane,GTUDirectionality>
down1
(package private) ImmutableMap<Lane,GTUDirectionality>
down2
(package private) GTUType
gtuType
(package private) Lane
lane1
(package private) Lane
lane2
(package private) Map<Lane,OTSLine3D>
leftEdges
(package private) boolean
permitted
(package private) Map<Lane,OTSLine3D>
rightEdges
(package private) OTSSimulatorInterface
simulator
(package private) ImmutableMap<Lane,GTUDirectionality>
up1
(package private) ImmutableMap<Lane,GTUDirectionality>
up2
(package private) ConflictBuilderParallel.WidthGenerator
widthGenerator
-
Constructor Summary
Constructors Constructor Description ConflictBuilderRecord(Lane lane1, GTUDirectionality dir1, ImmutableMap<Lane,GTUDirectionality> down1, ImmutableMap<Lane,GTUDirectionality> up1, Lane lane2, GTUDirectionality dir2, ImmutableMap<Lane,GTUDirectionality> down2, ImmutableMap<Lane,GTUDirectionality> up2, GTUType gtuType, boolean permitted, OTSSimulatorInterface simulator, ConflictBuilderParallel.WidthGenerator widthGenerator, Map<Lane,OTSLine3D> leftEdges, Map<Lane,OTSLine3D> rightEdges)
Stores conflicts about a single lane pair.
-
-
-
Field Detail
-
lane1
final Lane lane1
-
dir1
final GTUDirectionality dir1
-
down1
final ImmutableMap<Lane,GTUDirectionality> down1
-
up1
final ImmutableMap<Lane,GTUDirectionality> up1
-
lane2
final Lane lane2
-
dir2
final GTUDirectionality dir2
-
down2
final ImmutableMap<Lane,GTUDirectionality> down2
-
up2
final ImmutableMap<Lane,GTUDirectionality> up2
-
gtuType
final GTUType gtuType
-
permitted
final boolean permitted
-
simulator
final OTSSimulatorInterface simulator
-
widthGenerator
final ConflictBuilderParallel.WidthGenerator widthGenerator
-
-
Constructor Detail
-
ConflictBuilderRecord
ConflictBuilderRecord(Lane lane1, GTUDirectionality dir1, ImmutableMap<Lane,GTUDirectionality> down1, ImmutableMap<Lane,GTUDirectionality> up1, Lane lane2, GTUDirectionality dir2, ImmutableMap<Lane,GTUDirectionality> down2, ImmutableMap<Lane,GTUDirectionality> up2, GTUType gtuType, boolean permitted, OTSSimulatorInterface simulator, ConflictBuilderParallel.WidthGenerator widthGenerator, Map<Lane,OTSLine3D> leftEdges, Map<Lane,OTSLine3D> rightEdges)
Stores conflicts about a single lane pair.- Parameters:
lane1
- Lane; lane 1dir1
- GTUDirectionality; gtu direction 1down1
- Map<Lane,GTUDirectionality>; downstream lanes 1up1
- Map<Lane,GTUDirectionality>; upstream lanes 1lane2
- Lane; lane 2dir2
- GTUDirectionality; gtu direction 2down2
- Map<Lane,GTUDirectionality>; downstream lane 2up2
- Map<Lane,GTUDirectionality>; upstream lanes 2gtuType
- GTUType; gtu typepermitted
- boolean; conflict permitted by traffic controlsimulator
- OTSSimulatorInterface; simulatorwidthGenerator
- WidthGenerator; width generatorleftEdges
- Map<Lane, OTSLine3D>; cache of left edge linesrightEdges
- Map<Lane, OTSLine3D>; cache of right edge lines
-
-