LsaStandardAction

open class LsaStandardAction : LsaAbstractAction

This action add LsaMolecule in a single node.

Constructors

Link copied to clipboard
open fun LsaStandardAction(m: ILsaMolecule, n: ILsaNode)
Builds a new local action, withouth any RandomGenerator.
Link copied to clipboard
open fun LsaStandardAction(m: ILsaMolecule, n: ILsaNode, random: RandomGenerator)
Builds a new local action.

Functions

Link copied to clipboard
open fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): LsaStandardAction
abstract fun cloneAction(p: Node<T>, p1: Reaction<T>): Action<T>
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): ILsaAction
Link copied to clipboard
open fun execute()
Link copied to clipboard
open fun getContext(): Context
Link copied to clipboard
open fun getMolecule(): ILsaMolecule
Link copied to clipboard
fun getNode(): ILsaNode
Link copied to clipboard
fun getOutboundDependencies(): ListSet<out Dependency>
abstract fun getOutboundDependencies(): ListSet<out Dependency>
Link copied to clipboard
open fun setExecutionContext(m: Map<HashString, ITreeNode<out Any>>, n: List<ILsaNode>)
abstract fun setExecutionContext(matches: Map<HashString, ITreeNode<out Any>>, nodes: List<ILsaNode>)
Sets the context in which this action will execute.
Link copied to clipboard
open fun toString(): String
open fun toString(): String

Inheritors

Link copied to clipboard