AbstractDistribution

abstract class AbstractDistribution<T>(val startTime: Time) : TimeDistribution<T>

Base class for time generators with an initial scheduling time.

Neither value is part of the TimeDistribution contract: reactions may use this configuration when they are constructed, but the distribution does not own occurrence state or lifecycle transitions.

Inheritors

Constructors

Link copied to clipboard
constructor(startTime: Time)

Properties

Link copied to clipboard

The current meanDelay, for consumers requiring it to be finite and positive.

Link copied to clipboard
abstract val meanDelay: Double

The expected value of the delays drawn by sample in the current model state.

Link copied to clipboard

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

Functions

Link copied to clipboard
abstract fun newInstanceOn(node: Node<T>): TimeDistribution<T>

Creates a fresh generator with the same configuration for node.

Link copied to clipboard
abstract fun sample(): Time

Draws the next delay.

Link copied to clipboard