public class MeanIntensity extends AbstractIndicator<org.djunits.value.vdouble.scalar.Frequency>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
MeanIntensity(TotalTravelDistance travelDistance) |
Modifier and Type | Method and Description |
---|---|
protected org.djunits.value.vdouble.scalar.Frequency |
calculate(Query query,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime)
Calculate value for given query over time interval.
|
calculate, getValue, getValue
public MeanIntensity(TotalTravelDistance travelDistance)
travelDistance
- travel distance indicatorprotected org.djunits.value.vdouble.scalar.Frequency calculate(Query query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime)
calculate
in class AbstractIndicator<org.djunits.value.vdouble.scalar.Frequency>
query
- querystartTime
- start time of interval to calculate indicator overendTime
- start time of interval to calculate indicator overCopyright © 2014–2016 Delft University of Technology. All rights reserved.