public abstract class DiscreteDist<N extends java.lang.Number> extends NumericalDist<N>
Constructor and Description |
---|
DiscreteDist(Model owner,
java.lang.String name,
boolean showInReport,
boolean showInTrace)
Constructs a distribution returning discretely distributed samples
of a custom type.
|
getInverseOfCumulativeProbabilityFunction, sample, sampleObject, sampleTimeSpan, sampleTimeSpan
changeRandomGenerator, createDefaultReporter, 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 DiscreteDist(Model owner, java.lang.String name, boolean showInReport, boolean showInTrace)
N sample()
returning the samples
(inherited from NumericalDist
) has to be
implemented in subclasses.owner
- Model : The distribution's ownername
- java.lang.String : The distribution's nameshowInReport
- boolean : Flag to show distribution in reportshowInTrace
- boolean : Flag to show distribution in trace