LsaStandardCondition
open class LsaStandardCondition(molecule: ILsaMolecule, reaction: NodeReaction<List<ILsaMolecule>>) : AbstractLsaCondition(source)
Simple LSA condition (example: <grad, X, 1>), searching an instance of the molecule template in the node. The matched LSA, if any, is not deleted from the LSA space of the node, although the reaction may do so.
Inheritors
Properties
Functions
Link copied to clipboard
Link copied to clipboard
override fun cloneCondition(newReaction: Reaction<List<ILsaMolecule>>): Condition<List<ILsaMolecule>>
Link copied to clipboard
open override fun filter(matchesList: MutableList<MutableMap<HashString, ITreeNode<*>>>, validNodes: MutableList<ILsaNode>, retrieved: MutableList<MutableMap<ILsaNode, MutableList<ILsaMolecule>>>): Boolean
When this method is called, the condition must filter the current matches and allowed nodes.
Link copied to clipboard
Observable LSA state used to compute matches for this condition.