SAPERENeighborAgent

A SAPERE Agent that modifies something on neighboring nodes.

Parameters

<P>

position type

Inheritors

Constructors

Link copied to clipboard
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, m1: ILsaMolecule)
Creates a new SAPERE Neighbor Agent stub.
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule)
Creates a new SAPERE Agent stub.
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule, m3: ILsaMolecule)
Creates a new SAPERE Agent stub.

Functions

Link copied to clipboard
abstract fun cloneAction(p: Node<T>, p1: Reaction<T>): Action<T>
Link copied to clipboard
abstract fun execute()
Link copied to clipboard
Link copied to clipboard
@Nonnull
fun getNode(): ILsaNode
Link copied to clipboard
@Nonnull
abstract fun getOutboundDependencies(): ListSet<out Dependency>
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