SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.mcqmctools.anova.BasicObservationCollector< E > Class Template Reference

Does nothing but counting the total number of observations. More...

Inheritance diagram for umontreal.ssj.mcqmctools.anova.BasicObservationCollector< E >:
umontreal.ssj.mcqmctools.anova.ObservationCollector< E >

Public Member Functions

 BasicObservationCollector (String label)
void init ()
 Resets the collector.
void observe (E observation)
 Updates the number of observations.
Report report ()
 Returns a report of measurements on the data collected by the collector.

Detailed Description

Does nothing but counting the total number of observations.

Provides useful functionality for deriving classes.

Deriving classes overriding methods, e.g. init() or add(), must call their parent's versions.

Definition at line 11 of file BasicObservationCollector.java.

Constructor & Destructor Documentation

◆ BasicObservationCollector()

umontreal.ssj.mcqmctools.anova.BasicObservationCollector< E >.BasicObservationCollector ( String label)
Parameters
labellabel describing the collector

Definition at line 24 of file BasicObservationCollector.java.

Member Function Documentation

◆ init()

Resets the collector.

Forgets all previous observations.

Implements umontreal.ssj.mcqmctools.anova.ObservationCollector< E >.

Definition at line 41 of file BasicObservationCollector.java.

◆ observe()

Updates the number of observations.

Implements umontreal.ssj.mcqmctools.anova.ObservationCollector< E >.

Definition at line 49 of file BasicObservationCollector.java.

◆ report()

Returns a report of measurements on the data collected by the collector.

Definition at line 57 of file BasicObservationCollector.java.


The documentation for this class was generated from the following file: