public class ContDistWeibull extends ContDistExponential
Constructor and Description |
---|
ContDistWeibull(Model owner,
java.lang.String name,
double mean,
double beta,
boolean showInReport,
boolean showInTrace)
Constructs a simple Weibull-distributed pseudo random
generator with the given values as mean and beta of the distribution.
|
Modifier and Type | Method and Description |
---|---|
double |
getBeta()
Returns the beta value of the Weibull 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 . |
java.lang.Double |
sample()
Returns the next pseudo random number of the Weibull distribution.
|
createDefaultReporter, getMean
sampleTimeSpan, sampleTimeSpan
sampleObject
changeRandomGenerator, getInitialSeed, getNonNegative, getNumSamples, isAntithetic, reset, reset, setAntithetic, setNonNegative, setSeed
getCorrespondingSchedulable, getDescription, getObservations, getReporter, incrementObservations, incrementObservations, reportIsOn, reportOff, reportOn, resetAt, setCorrespondingSchedulable, setDescription, setReporter
current, currentEntity, currentEntityAll, currentEvent, currentModel, currentSimProcess, debugIsOn, debugOff, debugOn, getModel, isExperimentCompatible, isModelCompatible, presentTime, sendDebugNote, sendMessage, sendTraceNote, sendWarning, skipTraceNote, skipTraceNote, traceIsOn, traceOff, traceOn
getName, getQuotedName, toString
public ContDistWeibull(Model owner, java.lang.String name, double mean, double beta, boolean showInReport, boolean showInTrace)
owner
- Model : The distribution's ownername
- java.lang.String : The distribution's namemean
- double : The mean value for this distributionbeta
- double : The beat value for this distributionshowInReport
- boolean : Flag for producing reportsshowInTrace
- boolean : Flag for producing trace outputpublic double getBeta()
public java.lang.Double sample()
sample
in class ContDistExponential
public 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 ContDistExponential
p
- double: A value between 0 and 1P(X < x) = p