Class EventBasedTallyTest
java.lang.Object
org.djutils.stats.summarizers.event.EventBasedTallyTest
The TallyTest test the tally.
Copyright (c) 2002-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
for project information https://simulation.tudelft.nl. The DSOL
project is distributed under a three-clause BSD-style license, which can be found at
https://simulation.tudelft.nl/dsol/3.0/license.html.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) classThe listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) doublegenerateGaussianNoise(double mu, double sigma, Random random) Generate normally distributed values.voidTest the event based tally.voidTest the Event based tally with the FullStorageAccumulator.voidTest EventBasedTally with the NoStorageAccumulator.voidTest produced events by EventBasedTally.
-
Constructor Details
-
EventBasedTallyTest
public EventBasedTallyTest()
-
-
Method Details
-
testEventBasedTally
Test the event based tally. -
testTallyEventProduction
Test produced events by EventBasedTally.- Throws:
RemoteException- on network error
-
testNoStorageAccumulator
Test EventBasedTally with the NoStorageAccumulator. -
testFullStorageAccumulator
Test the Event based tally with the FullStorageAccumulator. -
generateGaussianNoise
Generate normally distributed values. Derived from https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform- Parameters:
mu- meansigma- standard deviationrandom- entropy source- Returns:
- one pseudo random value
-