Package org.bzdev.devqsim.rv


package org.bzdev.devqsim.rv
The org.bzdev.devqsim.rv package provides named objects that contain random variables. These objects implement interfaces used by both named objects and random variables, and provide the basic operations shared by all named objects and random variables. The primary rationale for this package is to simply the use of distributed applications by allowing random variables to be referenced by name. The class hierarchy is organized in the same way as in the package org.bzdev.math.rv.

Classes in this package and in org.bzdev.math.rv implement the interface RandomVariableOps, which provides methods common to all random variables. There are two additional interfaces:

  • RandomVariableRVOps is implemented by random numbers that generate other random numbers.
  • RandomVariableRVNOps is implemented by random numbers that generate other random numbers that in turn generate numbers.
The method SimRandomVariable.getRandomVariable() can be used to recover the random variable used internally—those random variables sometimes have additional methods for performance reasons.

In addition, classes in this package implement NamedObjectOps, which provides all of the operations expected for named objects. As named objects, they have a common base class: DefaultSimObject. Please see the description for the org.bzdev.math.rv package for further details regarding the random-variable properties.