PoissonProcess

scalation.simulation.PoissonProcess
class PoissonProcess(t: Double, lambda: Double, stream: Int) extends VariateVec

The PoissonProcess class generates data following a Poisson Process.

Value parameters

lambda

the arrival rate

stream

the random number stream to use

t

the terminal time

Attributes

Graph
Supertypes
class VariateVec
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

def flow(t_span: Double): VectorI

Return the arrivals/events occurring during each time interval of length t_span.

Return the arrivals/events occurring during each time interval of length t_span.

Value parameters

t_span

the time span for an interval (e.g., 5 minute time span)

Attributes

def gen: VectorD

Generate the arrival times in the time interval [0, t], returning them as a vector.

Generate the arrival times in the time interval [0, t], returning them as a vector.

Attributes

def igen: VectorI

Determine the next random integer vector for the particular distribution. It is only valid for discrete random variates.

Determine the next random integer vector for the particular distribution. It is only valid for discrete random variates.

Attributes

def mean: VectorD

Compute the vector mean for the particular distribution.

Compute the vector mean for the particular distribution.

Attributes

def num(tt: Double): Int

Return the number of arrivals by time tt, i.e., N(tt)

Return the number of arrivals by time tt, i.e., N(tt)

Value parameters

tt

the inquiry time (how many arrivals by time tt)

Attributes

def pf(z: VectorD): Double

Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.

Compute the probability function (pf): The probability density function (pdf) for continuous RVV's or the probability mass function (pmf) for discrete RVV's.

Value parameters

z

the mass point/vector whose probability is sought

Attributes

Inherited methods

def discrete: Boolean

Determine whether the distribution is discrete or continuous.

Determine whether the distribution is discrete or continuous.

Attributes

Inherited from:
VariateVec