LsaStandardCondition

open class LsaStandardCondition : LsaAbstractCondition

simple LSA-condition (example: ). Search an instance of a template in a node. The LSAMolecule matched, if exist, will not be deleted from the node Lsa-space . It can be deleted from the reaction, if necessary.

Constructors

Link copied to clipboard
open fun LsaStandardCondition(mol: ILsaMolecule, n: ILsaNode)
Builds an LsaStandardCondition.

Functions

Link copied to clipboard
open fun cloneCondition(node: Node<T>, reaction: Reaction<T>): Condition<T>
open fun cloneCondition(node: Node<List<ILsaMolecule>>, r: Reaction<List<ILsaMolecule>>): LsaStandardCondition
abstract fun cloneCondition(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): ILsaCondition
Link copied to clipboard
open fun filter(matchesList: List<Map<HashString, ITreeNode<out Any>>>, validNodes: List<ILsaNode>, retrieved: List<Map<ILsaNode, List<ILsaMolecule>>>): Boolean
When this method is called, the condition must filter the current matches and allowed nodes.
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
fun getInboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun getNode(): Node<T>
fun getNode(): ILsaNode
Link copied to clipboard
fun getPropensityContribution(): Double
Link copied to clipboard
fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
Link copied to clipboard
open fun toString(): String
open fun toString(): String

Inheritors

Link copied to clipboard