SAPERELocalAgent

abstract class SAPERELocalAgent : SAPEREAgent

A SAPERE Agent that does not do actions on neighbors.

Inheritors

Constructors

Link copied to clipboard
constructor(node: ILsaNode)
Creates a new SAPERE Local Agent stub.
constructor(node: ILsaNode, m1: ILsaMolecule)
Creates a new SAPERE Agent stub.
constructor(node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule)
Creates a new SAPERE Agent stub.
constructor(node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule, m3: ILsaMolecule)
Creates a new SAPERE Agent stub.

Functions

Link copied to clipboard
abstract fun cloneAction(node: Node<T>, reaction: Reaction<T>): Action<T>
This method allows to clone this action on a new node.
Link copied to clipboard
abstract fun execute()
Effectively executes this action.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getOutboundDependencies(): ListSet<? extends Dependency>
How to override: if you intend your action to influence any reaction with compatible context, return null.
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