SAPEREMove LSATo Agent
This agent matches a template, removes a single instance of it from the current node and moves the LSA to another node (specified at creation time). Please note that, since the destination could be anywhere in the system, this action has a GLOBAL Context, and thus may trigger a large number of updates, slowing down the whole simulation. Handle with care.
Constructors
Link copied to clipboard
constructor(environment: Environment<out Any, out Any>, node: ILsaNode, destinationId: Int, template: ILsaMolecule)
This is the constructor that should be called from DSL.
Functions
Link copied to clipboard
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): ILsaAction
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): LsaAbstractAction
open fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): SAPEREAgent
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard