public class MAPDistribution extends ContinuousDistribution
Meaning: | Modeling of sources with multiple states e.g., at the call level |
---|---|
Description: |
|
Parameters: | - number of states \(m\) - transition rates without arrival \(c_{ij}\) - transition rates with arrival \(d_{ij}\) |
Characteristic values: | See Reference LUCANTONI |
Parser example: |
[...].distribution =
MAPDistribution
|
References: |
|
Modifier and Type | Class and Description |
---|---|
static class |
MAPDistribution.MAPStateParameters |
Modifier and Type | Field and Description |
---|---|
int |
noOfStates |
MAPDistribution.MAPStateParameters[] |
stateParameters |
rng
CREATE_INSTANCE_METHOD_NAME
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 |
---|---|
static MAPDistribution |
createInstance(SimNode ownNode,
Parameters pars,
RandomNumberGenerator rng)
as required by
ReflectionConstructable |
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 static MAPDistribution createInstance(SimNode ownNode, Parameters pars, RandomNumberGenerator rng)
ReflectionConstructable
public double next()
ContinuousDistribution
next
in class ContinuousDistribution
public void reset()
Distribution
reset
in class Distribution
public int getCurrentState()