SSJ
V. 2.6.

Package umontreal.iro.lecuyer.stat.list

Provides support for lists of statistical probes.

See:
          Description

Interface Summary
ArrayOfObservationListener Represents an object that can listen to observations broadcast by lists of statistical probes.
 

Class Summary
ListOfStatProbes<E extends StatProbe> Represents a list of statistical probes that can be managed simultaneously.
ListOfTallies<E extends Tally> Represents a list of tally statistical collectors.
ListOfTalliesWithCovariance<E extends Tally> Extends ListOfTallies to add support for the computation of the sample covariance between each pair of elements in a list, without storing all observations.
 

Package umontreal.iro.lecuyer.stat.list Description

Provides support for lists of statistical probes. Sometimes, a simulator computes several related performance measures such as the quality of service for different call types in a phone call center, the waiting times of different types of customers, the average number of pieces of different types a machine processes, etc. A list of statistical probes, in contrast with an ordinary array, can be resized. Since a list of statistical probes implements the Java List interface, one can iterate over each probe, e.g., to set reporting options. In addition to an ordinary list, a list of probes provides facilities to get a vector of averages, a vector of sums, and to create reports.

In the Java programming language, a list is usually constructed empty, and filled with items. Lists of statistical probes can be constructed this generic way, or created using factory methods that automatically construct the probes.

ListOfStatProbes is the base class for lists of statistical probes. It can hold a list of any StatProbe subclass, and provides the basic facilities to obtain an array of sums, an array of averages, etc. Subclasses provide probe-specific functionalities for adding vectors of observations, computing sample covariances, etc. ListOfTallies is used to contain Tally instances. A subclass, ListOfTalliesWithCovariance, is provided to add support for covariance computation without storing observations.

All classes in this package representing lists of probes support the observer design pattern similarly to the classes in package stat. A list of statistical probes maintains a list of registered ArrayOfObservationListener objects, and broadcasts information to all its registered observers when it receives a new vector of observations. Any object that implements the interface ArrayOfObservationListener can register as an observer.


SSJ
V. 2.6.

To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.