AnyRealDistribution

This class is able to use any distribution provided by Apache Math 3 as a subclass of RealDistribution, blocking the execution if getPropensityContribution returns zero for any condition.

Parameters

<T>

concentration type

Inheritors

Constructors

Link copied to clipboard
constructor(rng: RandomGenerator, distribution: String, parameters: Array<Double>)
constructor(start: Time, rng: RandomGenerator, distribution: String, parameters: Array<Double>)
constructor(distribution: RealDistribution)
constructor(start: Time, distribution: RealDistribution)

Functions

Link copied to clipboard
abstract fun cloneOnNewNode(destination: Node<T>, currentTime: Time): TimeDistribution<T>
open fun cloneOnNewNode(destination: Node<T>, currentTime: Time): AbstractDistribution<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun update(currentTime: Time, executed: Boolean, param: Double, environment: Environment<T, out Any>)
fun update(currentTime: Time, hasBeenExecuted: Boolean, additionalParameter: Double, environment: Environment<T, out Any>)
Updates the internal status.