Chemical Node Reaction
Base for memoryless chemical reactions.
The generic implementation accepts no conditions: concrete chemical families must define their accepted semantic condition types and compute their own rate from typed model state. Construction rejects non-memoryless distributions.
Type Parameters
concentration type
Inheritors
Properties
Observes whether the reaction procedure can be selected and executed by the engine. This observable emits updates when that state changes. Reactions whose procedure includes checking occurrence-time conditions may remain executable even when those conditions will suppress their model effects.
The Conditions interpreted by this reaction's scheduling and execution policy.
The current meanDelay, for consumers requiring it to be finite and positive, such as those converting speeds into per-occurrence movements.
The absolute Time of the next occurrence.
The current rate of the exponentially distributed delays, namely the propensity of this reaction. By default, it is the rate of its ExponentialTime.
The delay distribution governing this reaction's putative occurrences.
Functions
Clones this reaction's program on a new node, for example when nodes are created at runtime.
Initializes reactive inputs after the model has been fully assembled.
Converts a NodeReaction to a ReactionSurrogate.
Converts a node-hosted Reaction to a ReactionSurrogate.
Refreshes reaction state after firing, then applies firing scheduling policy.
Refreshes this reaction's scheduling after one or more observed model inputs changed.