Class MeanIntensity
java.lang.Object
org.opentrafficsim.kpi.sampling.indicator.AbstractIndicator<Frequency>
org.opentrafficsim.kpi.sampling.indicator.MeanIntensity
Total travel distance divided by the sum of areas (X * T).
Copyright (c) 2013-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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opentrafficsim.kpi.sampling.indicator.AbstractIndicator
getValue, getValue
-
Constructor Details
-
MeanIntensity
Constructor.- Parameters:
travelDistance- travel distance indicator
-
-
Method Details
-
calculate
protected <G extends GtuData> Frequency calculate(Query<G, ?> query, Duration startTime, Duration endTime, List<TrajectoryGroup<G>> trajectoryGroups) Description copied from class:AbstractIndicatorCalculate value for given trajectory groups.- Specified by:
calculatein classAbstractIndicator<Frequency>- Type Parameters:
G- GTU data type- Parameters:
query- querystartTime- start time of interval to calculate indicator overendTime- start time of interval to calculate indicator overtrajectoryGroups- groups of trajectories to calculate the indicator for- Returns:
- value for given trajectory groups
-
toString
-