public class DMAPDistribution extends DiscreteDistribution
Modifier and Type | Class and Description |
---|---|
static class |
DMAPDistribution.DMAPStateParameters |
Modifier and Type | Field and Description |
---|---|
int |
noOfStates |
DMAPDistribution.DMAPStateParameters[] |
stateParameters |
rng
Constructor and Description |
---|
DMAPDistribution(int noOfStates,
double[][] c,
double[][] d) |
DMAPDistribution(int noOfStates,
double[][] c,
double[][] d,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentState() |
int |
next()
Create random numbers
|
void |
reset()
The default behavior is to do nothing.
|
getDefaultRNG, getRandomNumberGenerator
public final int noOfStates
public final DMAPDistribution.DMAPStateParameters[] stateParameters
public DMAPDistribution(int noOfStates, double[][] c, double[][] d, RandomNumberGenerator rng)
public DMAPDistribution(int noOfStates, double[][] c, double[][] d)
public int next()
DiscreteDistribution
next
in class DiscreteDistribution
public void reset()
Distribution
reset
in class Distribution
public int getCurrentState()