Package jline.lang.processes
Class Erlang
java.lang.Object
jline.lang.processes.Distribution
jline.lang.processes.ContinuousDistribution
jline.lang.processes.Markovian
jline.lang.processes.Erlang
- All Implemented Interfaces:
Serializable
An Erlang-n distribution with n phases.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
evalCDF
(double t) double
evalLST
(double s) static Erlang
fitMeanAndOrder
(double mean, long numPhases) static Erlang
fitMeanAndSCV
(double mean, double SCV) static Erlang
fitMeanAndStdDev
(double mean, double stdDev) double
getMean()
double
getRate()
double
getSCV()
double
double
getVar()
double[]
sample
(int n) double[]
Methods inherited from class jline.lang.processes.Markovian
D, evalCDF, evalMeanT, evalVarT, getACF, getEmbedded, getEmbeddedProb, getIDC, getIDI, getInitProb, getMoments, getMu, getNumberOfPhases, getPhi, getProcess, getSubgenerator, getVariance, setMean, setProcess, setRate
Methods inherited from class jline.lang.processes.Distribution
evalProbInterval, getName, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, setNumParams, setParam
-
Constructor Details
-
Erlang
public Erlang(double phaseRate, int n)
-
-
Method Details
-
fitMeanAndSCV
-
fitMeanAndStdDev
-
fitMeanAndOrder
-
sample
public double[] sample(int n) -
sample
-
getMean
public double getMean() -
getVar
public double getVar() -
getSkewness
public double getSkewness()- Overrides:
getSkewness
in classMarkovian
-
getSCV
public double getSCV() -
getRate
public double getRate() -
evalCDF
public double evalCDF(double t) -
evalLST
public double evalLST(double s)
-