public class HyperExpDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
ProbabilityVector |
branchProbs |
NegExpDistribution[] |
phases |
rng
Constructor and Description |
---|
HyperExpDistribution(double[] means,
double[] branchProbs) |
HyperExpDistribution(double[] means,
double[] branchProbs,
RandomNumberGenerator rng) |
HyperExpDistribution(double mean1,
double mean2,
double branchProb1) |
HyperExpDistribution(double mean1,
double mean2,
double branchProb1,
RandomNumberGenerator rng) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final NegExpDistribution[] phases
public final ProbabilityVector branchProbs
public HyperExpDistribution(double[] means, double[] branchProbs, RandomNumberGenerator rng)
public HyperExpDistribution(double[] means, double[] branchProbs)
public HyperExpDistribution(double mean1, double mean2, double branchProb1, RandomNumberGenerator rng)
public HyperExpDistribution(double mean1, double mean2, double branchProb1)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution