public class Erlang extends RandomNumber
BasicFunction.Differentiable<N extends Number,F extends BasicFunction>, BasicFunction.Integratable<N extends Number,F extends BasicFunction>, BasicFunction.PlainUnary<T,R>
Constructor and Description |
---|
Erlang() |
Erlang(int aCount,
double aRate) |
Modifier and Type | Method and Description |
---|---|
protected double |
generate() |
double |
getExpected() |
double |
getVariance()
Subclasses must override either getStandardDeviation() or getVariance()!
|
checkProbabilty, doubleValue, floatValue, getStandardDeviation, intValue, invoke, longValue, newSampleSet, random, setSeed, toString
byteValue, shortValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
andThen, get, getAsDouble
public double getExpected()
public double getVariance()
RandomNumber
getVariance
in interface Distribution
getVariance
in class RandomNumber
Distribution.getStandardDeviation()
,
Distribution.getVariance()
protected double generate()
generate
in class RandomNumber
Copyright © 2019 Optimatika. All rights reserved.