Package org.djutils.stats.summarizers
Interface TallyStatistic
-
- All Superinterfaces:
Serializable
,Statistic
- All Known Implementing Classes:
EventBasedTally
,EventBasedTimestampWeightedTally
,EventBasedWeightedTally
,Tally
,TimestampWeightedTally
,WeightedTally
public interface TallyStatistic extends Statistic
TallyStatistic makes the common methods of any type of Tally available (unweighted, weighted, timestamped, or event based).Copyright (c) 2023-2023 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
- Alexander Verbraeck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getMax()
Returns the maximum value of any given observation, or NaN when no observations were registered.double
getMin()
Returns the minimum value of any given observation, or NaN when no observations were registered.-
Methods inherited from interface org.djutils.stats.summarizers.Statistic
formatFixed, getDescription, getN, initialize, reportLine
-
-
-
-
Method Detail
-
getMax
double getMax()
Returns the maximum value of any given observation, or NaN when no observations were registered.- Returns:
- double; the maximum value of any given observation
-
getMin
double getMin()
Returns the minimum value of any given observation, or NaN when no observations were registered.- Returns:
- double; the minimum value of any given observation
-
-