Class AccumulatorTest
java.lang.Object
org.djutils.stats.summarizers.quantileaccumulator.AccumulatorTest
AccumulatorTest tests the quantile accumulators for the right exceptions.
Copyright (c) 2020-2025 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.
Copyright (c) 2020-2025 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, Peter Knoppers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidTest the accumulators for null and wrong probabilities.voidTest the getCumulativeProbability method of the FixedBinsAccumulator.voidTest the getCumulativeProbability method of the FullStorageAccumulator.voidTest the getCumulativeProbability method of the NoStorageAccumulator.voidTest the getCumulativeProbability method of the TDigestAccumulator.
-
Constructor Details
-
AccumulatorTest
public AccumulatorTest()
-
-
Method Details
-
testAccumulators
Test the accumulators for null and wrong probabilities. -
testFullStorageAccumulator
Test the getCumulativeProbability method of the FullStorageAccumulator. -
testFixedBinsAccumulator
Test the getCumulativeProbability method of the FixedBinsAccumulator. This test does not cover cases where some of the registered values are out of range; as we have not decided how to compute cumulative probabilities for such cases. -
testNoStorageAccumulator
Test the getCumulativeProbability method of the NoStorageAccumulator. -
testTDigestAccumulator
Test the getCumulativeProbability method of the TDigestAccumulator.
-