public class ContDistErlang extends ContDistExponential
| Constructor and Description |
|---|
ContDistErlang(Model owner,
java.lang.String name,
long order,
double mean,
boolean showInReport,
boolean showInTrace)
Creates a stream of pseudo random numbers following a normal (a.k.a.
|
| Modifier and Type | Method and Description |
|---|---|
Reporter |
createDefaultReporter()
Creates the default reporter for the RealDistErlang distribution.
|
java.lang.Double |
getInverseOfCumulativeProbabilityFunction(double p)
Abstract method to map a double
p from 0...1 to the
distribution's domain by determining the value x that satisfies
P(X < x) = p. |
double |
getMean()
Returns the mean value of this Erlang distribution.
|
long |
getOrder()
Returns the order of the Erlang distribution.
|
java.lang.Double |
sample()
Returns the next Erlang distributed sample from this distribution.
|
sampleTimeSpan, sampleTimeSpansampleObjectchangeRandomGenerator, getInitialSeed, getNonNegative, getNumSamples, isAntithetic, reset, reset, setAntithetic, setNonNegative, setSeedgetCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReportercurrent, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOngetName, getQuotedName, toStringpublic ContDistErlang(Model owner, java.lang.String name, long order, double mean, boolean showInReport, boolean showInTrace)
owner - Model : The distribution's ownername - java.lang.String : The distribution's nameorder - long : The order of the Erlang distribution (>=1)mean - double : The mean value for this distributionshowInReport - boolean : Flag for producing reportsshowInTrace - boolean : Flag for producing trace outputpublic Reporter createDefaultReporter()
createDefaultReporter in class ContDistExponentialContDistErlangReporterpublic double getMean()
getMean in class ContDistExponentialpublic long getOrder()
public java.lang.Double sample()
sample in class ContDistExponentialpublic java.lang.Double getInverseOfCumulativeProbabilityFunction(double p)
p from 0...1 to the
distribution's domain by determining the value x that satisfies
P(X < x) = p.getInverseOfCumulativeProbabilityFunction in class ContDistExponentialp - double: A value between 0 and 1P(X < x) = p