Class PoissonProcess
- All Implemented Interfaces:
RandomProcess<Poisson>
A Poisson process is a stochastic process which counts the number of events in a given time interval. The
time between each pair of consecutive events has an exponential distribution with parameter λ and each of
these inter-arrival times is assumed to be independent of other inter-arrival times. The process is a good
model of radioactive decay, telephone calls and requests for a particular document on a web server, among
many other phenomena.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RandomProcess
RandomProcess.SimulationResults -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) doubledoStep(double stepSize, double normalisedRandomIncrement) getDistribution(double evaluationPoint) (package private) doublegetExpected(double stepSize) (package private) doublegetLowerConfidenceQuantile(double stepSize, double confidence) (package private) double(package private) doublegetStandardDeviation(double stepSize) (package private) doublegetUpperConfidenceQuantile(double stepSize, double confidence) (package private) doublegetVariance(double stepSize) Methods inherited from class SingleValueBasedProcess
getCurrentValue, setCurrentValue, simulateMethods inherited from class AbstractProcess
getExpected, getLowerConfidenceQuantile, getStandardDeviation, getUpperConfidenceQuantile, getVariance, step
-
Field Details
-
GENERATOR
-
myRate
private final double myRate
-
-
Constructor Details
-
PoissonProcess
protected PoissonProcess(double rate)
-
-
Method Details
-
getDistribution
- Parameters:
evaluationPoint- How far into the future?- Returns:
- The distribution for the process value at that future time.
-
getTimeBetweenConsecutiveEvents
-
doStep
double doStep(double stepSize, double normalisedRandomIncrement) - Specified by:
doStepin classAbstractProcess<Poisson>
-
getExpected
double getExpected(double stepSize) - Specified by:
getExpectedin classAbstractProcess<Poisson>
-
getLowerConfidenceQuantile
double getLowerConfidenceQuantile(double stepSize, double confidence) - Specified by:
getLowerConfidenceQuantilein classAbstractProcess<Poisson>
-
getNormalisedRandomIncrement
double getNormalisedRandomIncrement()- Specified by:
getNormalisedRandomIncrementin classAbstractProcess<Poisson>
-
getStandardDeviation
double getStandardDeviation(double stepSize) - Specified by:
getStandardDeviationin classAbstractProcess<Poisson>
-
getUpperConfidenceQuantile
double getUpperConfidenceQuantile(double stepSize, double confidence) - Specified by:
getUpperConfidenceQuantilein classAbstractProcess<Poisson>
-
getVariance
double getVariance(double stepSize) - Specified by:
getVariancein classAbstractProcess<Poisson>
-