NH_PoissonProcess

scalation.simulation.NH_PoissonProcess
class NH_PoissonProcess(t: Double, lambdaf: FunctionS2S, stream: Int) extends PoissonProcess

The NH_PoissonProcess class generates data following a Non-Homogeneous Poisson Process.

Value parameters

lambdaf

the arrival rate function, lambda(t)

stream

the random number stream to use

t

the terminal time

Attributes

Graph
Supertypes
class VariateVec
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def gen: VectorD

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

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

Attributes

Definition Classes
override def mean: VectorD

Compute the vector mean for the particular distribution.

Compute the vector mean for the particular distribution.

Attributes

Definition Classes
override 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

Definition Classes

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
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

Inherited from:
PoissonProcess
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

Inherited from:
PoissonProcess
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

Inherited from:
PoissonProcess