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