Package jline.lang.processes
Class MarkedMAP
-
- All Implemented Interfaces:
-
java.io.Serializable,jline.lang.Copyable
public class MarkedMAP extends Marked implements Serializable
A Marked Markovian Arrival Process
-
-
Constructor Summary
Constructors Constructor Description MarkedMAP()MarkedMAP(MatrixCell mmap)
-
Method Summary
Modifier and Type Method Description voidnormalize()Normalizes the MarkedMAP so that D0+sum(D_i) rows form a proper infinitesimal generator. Array<double>sample(int n)Generates random samples from this distribution using default random generator. Array<double>sample(int n, Random random)Generates samples from the MarkedMAP using the specified random generator. MarkedMAPtoTimeReversed()-
Methods inherited from class jline.lang.processes.Marked
D, D, getD1k -
Methods inherited from class jline.lang.processes.MarkovModulated
evalACFT, getACFDecay -
Methods inherited from class jline.lang.processes.Markovian
acf, embedded, embeddedProb, evalCDF, evalCDF, evalLST, evalMeanT, evalVarT, getACF, getEmbedded, getEmbeddedProb, getIDC, getIDI, getInitProb, getMean, getMoments, getMu, getNumberOfPhases, getPhi, getProcess, getRate, getSCV, getSkewness, getSubgenerator, getVar, getVariance, idc, idi, initProb, mean, moments, mu, numPhases, numberOfPhases, phi, process, rate, scv, setMean, setProcess, setRate, skewness, subgenerator, var, variance -
Methods inherited from class jline.lang.processes.Distribution
evalProbInterval, getName, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, isMarkovian, name, numParams, param, setNumParams, setParam, support -
Methods inherited from class jline.lang.Copyable
copy -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MarkedMAP
MarkedMAP()
-
MarkedMAP
MarkedMAP(MatrixCell mmap)
-
-
Method Detail
-
normalize
void normalize()
Normalizes the MarkedMAP so that D0+sum(D_i) rows form a proper infinitesimal generator. Each row sum should equal zero for a valid generator.
-
sample
Array<double> sample(int n)
Generates random samples from this distribution using default random generator.
- Parameters:
n- the number of samples to generate- Returns:
array of random samples
-
sample
Array<double> sample(int n, Random random)
Generates samples from the MarkedMAP using the specified random generator. Returns inter-arrival times with corresponding marks.
- Parameters:
n- the number of samples to generaterandom- the random number generator to use- Returns:
array of inter-arrival times (marks are not returned in this basic implementation)
-
toTimeReversed
MarkedMAP toTimeReversed()
-
-
-
-