ILsaCondition

Functions

Link copied to clipboard
This method allows to clone this action on a new node.
Link copied to clipboard
abstract fun filter(matches: 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
abstract fun getContext(): Context
Link copied to clipboard
abstract fun getInboundDependencies(): ListSet<? extends Dependency>
Link copied to clipboard
abstract fun getNode(): ILsaNode
Link copied to clipboard
This method is a support for the propensity calculation inside the Reactions.
Link copied to clipboard
abstract fun isValid(): Boolean
Link copied to clipboard
open fun reactionReady()
This method is called by the Simulation once the Reaction whose this Condition belongs to is the next one to be executed, and all its conditions passed (namely, the next operation will be the reaction execution).