public class TestBetaVariate
extends java.lang.Object
A small example illustrating the use of RandomVariate and RandomVariateFactory in generating random variates from a particular distribution, in this case a Beta(2.3, 4.5).
Note that in a simulation model, the SimpleStats instance will typically get its values via the PropertyChangeListener pattern (i.e. it will be registered as a PropertyChangeListener to a SimEntity that fire a PropertyChangeEvent whenever the state variable of that name changes value).
| Constructor and Description |
|---|
TestBetaVariate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |