Package jline.lang.processes
Class MMPP2
- All Implemented Interfaces:
Serializable
A Markovian-modulated Poisson Process with 2 states
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionD
(int i) evalACFT
(int[] lags, double timescale) double
evalCDF
(double t) double
evalLST
(double s) double
evalMeanT
(double t) static MMPP2
fitCentralAndACFDecay
(double mean, double var, double skew, double g2) static MMPP2
fitCentralAndACFLag1
(double mean, double var, double skew, double acf1) static MMPP2
fitCentralAndIDC
(double mean, double var, double skew, double idc) static MMPP2
fitRawMomentsAndACFDecay
(double m1, double m2, double m3, double gamma2) static MMPP2
fitRawMomentsAndACFLag1
(double m1, double m2, double m3, double rho1) static MMPP2
fitRawMomentsAndIDC
(double m1, double m2, double m3, double idc) double
getACFDecay
(Matrix lags) double
getIDC()
double
getIDI()
double
getMean()
long
double
getRate()
double
getSCV()
double
double
getVar()
static void
void
static MMPP2
rand()
double[]
sample
(int n) double[]
Methods inherited from class jline.lang.processes.MarkovModulated
getACFDecay
Methods inherited from class jline.lang.processes.Markovian
evalCDF, evalVarT, getACF, getInitProb, getMoments, getMu, 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
-
MMPP2
public MMPP2(double lambda0, double lambda1, double sigma0, double sigma1)
-
-
Method Details
-
rand
-
fitRawMomentsAndACFLag1
-
fitRawMomentsAndIDC
-
fitRawMomentsAndACFDecay
-
fitCentralAndIDC
-
fitCentralAndACFDecay
-
fitCentralAndACFLag1
-
main
- Throws:
Exception
-
normalize
public void normalize() -
getNumberOfPhases
public long getNumberOfPhases()- Overrides:
getNumberOfPhases
in classMarkovian
-
getMean
public double getMean() -
sample
public double[] sample(int n) -
sample
-
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) -
evalMeanT
public double evalMeanT(double t) -
getACFDecay
-
getIDI
public double getIDI() -
getIDC
public double getIDC() -
D
-
getEmbedded
- Overrides:
getEmbedded
in classMarkovian
-
getEmbeddedProb
- Overrides:
getEmbeddedProb
in classMarkovian
-
evalACFT
- Overrides:
evalACFT
in classMarkovModulated
-
toTimeReversed
-