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(p: Node<T>, p1: Time): TimeDistribution<T>
open fun cloneOnNewNode(@Nonnull destination: Node<T>, @Nonnull currentTime: Time): AbstractDistribution<T>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun update(p: Time, p1: Boolean, p2: Double, p3: Environment<T, out Any>)
fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, additionalParameter: Double, @Nonnull environment: Environment<T, out Any>)