SAPERENodeReaction

A reaction with LSA concentrations, hosted by node in environment. Its conditions compute the possible matches, one of which is selected and passed to the actions when firing.

Constructors

Link copied to clipboard
constructor(environment: Environment<List<ILsaMolecule>, *>, node: ILsaNode, randomGenerator: RandomGenerator, timeDistribution: TimeDistribution<List<ILsaMolecule>>)

Properties

Link copied to clipboard
open override var actions: List<Action<List<ILsaMolecule>>>
Link copied to clipboard
open override val canExecute: Observable<Boolean>
Link copied to clipboard
open override var conditions: List<Condition<List<ILsaMolecule>>>
Link copied to clipboard
override val host: Node<List<ILsaMolecule>>
Link copied to clipboard
open override val meanDelay: Double
Link copied to clipboard
Link copied to clipboard

The total propensity of the possible matches, which is the rate of this reaction for exponential delays.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
operator override fun compareTo(other: Reaction<List<ILsaMolecule>>): Int
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun execute()
Link copied to clipboard
override fun initializationComplete(atTime: Time, environment: Environment<List<ILsaMolecule>, *>)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
override fun updateSchedulingAfterFiring(currentTime: Time)
Link copied to clipboard
override fun updateSchedulingAfterInvalidation(currentTime: Time)