SAPEREExponentialTime

Allows for a Markovian event whose lambda is computed dynamically using a rate equation.

Constructors

Link copied to clipboard
constructor(rateEquation: String, random: RandomGenerator)
constructor(rateEquation: String, start: Time, random: RandomGenerator)

Functions

Link copied to clipboard
abstract fun cloneOnNewNode(destination: Node<T>, currentTime: Time): TimeDistribution<T>
abstract fun cloneOnNewNode(destination: Node<T>, currentTime: Time): AbstractDistribution<T>

open fun cloneOnNewNode(destination: Node<T>, currentTime: Time): ExponentialTime<T>
Must be overridden by subclasses returning the correct instance.
Link copied to clipboard
Link copied to clipboard
open fun getRate(): Double
Link copied to clipboard
Link copied to clipboard
open fun isStatic(): Boolean
Link copied to clipboard
open fun setMatches(match: Map<HashString, ITreeNode<out Any>>)
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.
Link copied to clipboard
fun updateStatus(currentTime: Time, executed: Boolean, newpropensity: Double, environment: Environment<T, out Any>)
Implement this method to update the distribution's internal status.