LsaAllNeighborsAction

The execution involves all neighbours. The molecule can be different from a neighbor to the other, because some special Variable (#D) are specific for each node. This is why N molecules are instanced if there are N neighbours.

Constructors

Link copied to clipboard
constructor(node: ILsaNode, molecule: ILsaMolecule, environment: Environment<List<ILsaMolecule>, out Any>)
constructor(node: ILsaNode, molecule: ILsaMolecule, environment: Environment<List<ILsaMolecule>, out Any>, randomGenerator: RandomGenerator)

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun execute()
open fun execute()
Link copied to clipboard
abstract fun getContext(): Context
Link copied to clipboard
Link copied to clipboard
@Nonnull
fun getNode(): ILsaNode
Link copied to clipboard
Link copied to clipboard
abstract fun setExecutionContext(matches: Map<HashString, ITreeNode<out Any>>, nodes: List<ILsaNode>)
open fun setExecutionContext(m: Map<HashString, ITreeNode<out Any>>, n: List<ILsaNode>)
Sets the context in which this action will execute.
Link copied to clipboard
open fun toString(): String
open fun toString(): String