Class AnticipationDensity.CountAndDistance
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.perception.categories.AnticipationDensity.CountAndDistance
-
- Enclosing class:
- AnticipationDensity
public static class AnticipationDensity.CountAndDistance extends Object
Intermediate data to determine density.Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 13 mrt. 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description CountAndDistance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Length
getDistance()
void
increaseCount()
Increases the GTU count by 1.void
setDistance(Length distance)
-