public class GeneralDistribution extends ContinuousDistribution
Modifier and Type | Class and Description |
---|---|
static class |
GeneralDistribution.SubType |
Modifier and Type | Field and Description |
---|---|
double |
branchingProbability |
ContinuousDistribution |
distribution1 |
ContinuousDistribution |
distribution2 |
GeneralDistribution.SubType |
subType |
rng
Constructor and Description |
---|
GeneralDistribution(double mean,
double coefficientOfVariation) |
GeneralDistribution(double mean,
double coefficientOfVariation,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final ContinuousDistribution distribution1
public final ContinuousDistribution distribution2
public final GeneralDistribution.SubType subType
public final double branchingProbability
public GeneralDistribution(double mean, double coefficientOfVariation, RandomNumberGenerator rng)
public GeneralDistribution(double mean, double coefficientOfVariation)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution