Event

This reaction completely ignores the propensity conditioning of the conditions, and tries to run every time the TimeDistribution wants to.

Parameters

<T>

concentration type

Constructors

Link copied to clipboard
constructor(node: Node<T>, timedist: TimeDistribution<T>)

Properties

Link copied to clipboard
@get:Nonnull
val node: Node<T>
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun canExecute(): Boolean

open fun canExecute(): Boolean
The default implementation verifies if all the conditions are valid.
Link copied to clipboard
@Nonnull
open fun cloneOnNewNode(@Nonnull node: Node<T>, @Nonnull currentTime: Time): Event<T>
Link copied to clipboard
abstract fun compareTo(p: T): Int
Link copied to clipboard
fun equals(o: Any): Boolean
Link copied to clipboard
abstract fun execute()

open fun execute()
The default execution iterates all the actions in order and executes them.
Link copied to clipboard
abstract fun getActions(): List<Action<T>>

@Nonnull
open fun getActions(): List<Action<T>>
Override only if you need to implement extremely tricky behaviours.
Link copied to clipboard
abstract fun getConditions(): List<Condition<T>>

@Nonnull
open fun getConditions(): List<Condition<T>>
Override only if you need to implement extremely tricky behaviours.
Link copied to clipboard
Link copied to clipboard
abstract fun getInputContext(): Context
@Nonnull
fun getInputContext(): Context
Link copied to clipboard
abstract fun getNode(): Node<T>
Link copied to clipboard
Link copied to clipboard
abstract fun getOutputContext(): Context
@Nonnull
fun getOutputContext(): Context
Link copied to clipboard
open fun getRate(): Double
Link copied to clipboard
open fun getTau(): Time
@Nonnull
fun getTau(): Time
Link copied to clipboard
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
abstract fun initializationComplete(p: Time, p1: Environment<T, out Any>)
open fun initializationComplete(@Nonnull atTime: Time, @Nonnull environment: Environment<T, out Any>)
Link copied to clipboard
abstract fun setActions(p: List<out Action<T>>)

open fun setActions(@Nonnull actions: List<out Action<T>>)
This should get overridden only if very tricky behaviours are implemented, such that the default Alchemist action addition model is no longer usable.
Link copied to clipboard
abstract fun setConditions(p: List<out Condition<T>>)

open fun setConditions(@Nonnull conditions: List<out Condition<T>>)
This should get overridden only if very tricky behaviours are implemented, such that the default Alchemist condition addition model is no longer usable.
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
abstract fun update(p: Time, p1: Boolean, p2: Environment<T, out Any>)
fun update(@Nonnull currentTime: Time, hasBeenExecuted: Boolean, @Nonnull environment: Environment<T, out Any>)