Class EventBasedTimestampWeightedTallyTest
java.lang.Object
org.djutils.stats.summarizers.event.EventBasedTimestampWeightedTallyTest
The EventBasedTimestampWeightedTallyTest test the weighted tally that receives event-observations with a timestamp.
Copyright (c) 2002-2024 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.
- Since:
- 1.5
- Author:
- Peter Jacobs
-
Nested Class Summary
Modifier and TypeClassDescription(package private) class
The Calendar-based listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness.(package private) class
The listener that counts the OBSERVATION_ADDED_EVENT events and checks correctness. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test produced events by EventBasedWeightedTally.void
Test the TimestampWeightedTally for Calendar-based timestamps.void
Test the TimestampWeightedTally for Calendar-based timestamps with register().void
Test the event-based timestamp weighted tally for RemoteExceptions.void
Test the EventBasedTimestampWeightedTally.void
Test the EventBasedTimestampWeightedTally on a simple example.void
Test produced events by EventBasedWeightedTally.
-
Constructor Details
-
EventBasedTimestampWeightedTallyTest
public EventBasedTimestampWeightedTallyTest()
-
-
Method Details
-
testEventBasedTimestampWeightedTally
@Test public void testEventBasedTimestampWeightedTally()Test the EventBasedTimestampWeightedTally. -
testEventBasedTimestampWeightedTallySimple
@Test public void testEventBasedTimestampWeightedTallySimple()Test the EventBasedTimestampWeightedTally on a simple example. -
testEBTimestampWeightedTallyCalendarNotify
@Test public void testEBTimestampWeightedTallyCalendarNotify()Test the TimestampWeightedTally for Calendar-based timestamps. -
testEBTimestampWeightedTallyCalendarregister
@Test public void testEBTimestampWeightedTallyCalendarregister()Test the TimestampWeightedTally for Calendar-based timestamps with register(). -
testEventBasedWeightedTallyEventProduction
Test produced events by EventBasedWeightedTally.- Throws:
RemoteException
- on network error
-
testCalendarBasedWeightedTallyEventProduction
Test produced events by EventBasedWeightedTally.- Throws:
RemoteException
- on network error
-
testEventBasedTimestampTallyRemote
Test the event-based timestamp weighted tally for RemoteExceptions.- Throws:
RemoteException
- on network error for the event-based statistic
-