AbstractLsaCondition
abstract class AbstractLsaCondition(reaction: NodeReaction<List<ILsaMolecule>>, molecules: Set<ILsaMolecule>) : AbstractLocalCondition<List<ILsaMolecule>> , ILsaCondition
Base implementation of an ILsaCondition, evaluated on the ILsaNode hosting its reaction.
The molecules are the templates on which this condition acts.
Inheritors
Properties
Link copied to clipboard
The live validity of this condition.
Link copied to clipboard
Link copied to clipboard
The NodeReaction owning this condition, hosted by targetNode.
Link copied to clipboard
Functions
Link copied to clipboard
Signals that the owning reaction is about to fire. Used to implement conditions latched to changes that occur in-between reaction executions.
Link copied to clipboard
override fun cloneCondition(newReaction: Reaction<List<ILsaMolecule>>): Condition<List<ILsaMolecule>>
Creates an equivalent condition owned by newReaction, such as a reaction cloned onto a new node. A condition targeting the host of its reaction targets the host of newReaction, which must then be a Node; a condition targeting any other node keeps its target.
Link copied to clipboard