LsaNeighborhoodCondition

An LSA condition searching an instance of the molecule template in the neighbors of the node.

Constructors

Link copied to clipboard
constructor(reaction: NodeReaction<List<ILsaMolecule>>, molecule: ILsaMolecule, environment: Environment<List<ILsaMolecule>, *>)

Properties

Link copied to clipboard
override val isValid: Observable<Boolean>
Link copied to clipboard

The node hosting this condition, as an ILsaNode.

Link copied to clipboard
open override val matchingInput: Observable<*>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun dispose()
Link copied to clipboard

When this method is called, the condition must filter the current matches and allowed nodes.

Link copied to clipboard
open override fun getMatchingInput(): Observable<*>

Observable LSA state used to compute matches for this condition.

Link copied to clipboard
open override fun toString(): String