RandomDiracComb

A DiracComb whose rate is sampled uniformly within the provided bounds for each new instance.

Constructors

Link copied to clipboard
constructor(randomGenerator: RandomGenerator, start: Time, minRate: Double, maxRate: Double)

Builds a randomized-rate generator with an explicit absolute start time.

constructor(randomGenerator: RandomGenerator, minRate: Double, maxRate: Double)

Builds a randomized-rate generator whose initial start is randomized as well.

Properties

Link copied to clipboard

Number of occurrences per time unit represented by this constant-delay law.

Link copied to clipboard
open override val meanDelay: Double
Link copied to clipboard

earliest absolute time at which a reaction using this generator may run

Functions

Link copied to clipboard
open override fun newInstanceOn(node: Node<T>): TimeDistribution<T>
Link copied to clipboard
open override fun sample(): Time
Link copied to clipboard
open override fun toString(): String