SAPERETimeDistribution

Interface for TimeDistribution that need matches.

Inheritors

Functions

Link copied to clipboard

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

Link copied to clipboard
abstract fun getMeanDelay(): Double

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

Link copied to clipboard
abstract fun getRate(): Double
Returns the rate of this time distribution.
Link copied to clipboard
Returns the equation used to compute the rate.
Link copied to clipboard
abstract fun isStatic(): Boolean
Checks whether the rate of this time distribution is constant.
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
abstract fun setMatches(match: Map<HashString, ITreeNode<out Any>>)
Sets the matches used to compute the rate.
Link copied to clipboard