Class ConflictBuilder.CbrTaskSmall
java.lang.Object
org.opentrafficsim.road.network.lane.conflict.ConflictBuilder.CbrTaskSmall
- All Implemented Interfaces:
Runnable
- Enclosing class:
- ConflictBuilder
Small conflict builder task. A small task is finding all conflicts between two lanes.
Copyright (c) 2023-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Modifier and TypeFieldDescription(package private) final ConflictBuilder.ConflictBuilderRecordSmall
Small conflict builder record.(package private) final AtomicInteger
Number of jobs to do. -
Constructor Summary
ConstructorDescriptionCbrTaskSmall
(AtomicInteger nrOfJobs, ConflictBuilder.ConflictBuilderRecordSmall cbr) Constructor. -
Method Summary
-
Field Details
-
cbr
Small conflict builder record. -
nrOfJobs
Number of jobs to do.
-
-
Constructor Details
-
CbrTaskSmall
CbrTaskSmall(AtomicInteger nrOfJobs, ConflictBuilder.ConflictBuilderRecordSmall cbr) Constructor.- Parameters:
nrOfJobs
- AtomicInteger; number of jobs to do.cbr
- ConflictBuilderRecordSmall; the record to execute.
-
-
Method Details