SAPEREMoveNodeAgent

open fun SAPEREMoveNodeAgent(env: Environment<List<ILsaMolecule>, P>, node: ILsaNode)

Creates a new SAPERE Local Agent stub. If you use this constructor, you must be sure that your agent does not modify any molecule (e.g. an agent that just moves a node).

Parameters

env

The current environment

node

The node in which this agent stays


open fun SAPEREMoveNodeAgent(env: Environment<List<ILsaMolecule>, P>, node: ILsaNode, m: ILsaMolecule)

Creates a new SAPERE Local Agent stub. Use this constructor if you agent modifies a molecule (locally!)

Parameters

env

The current environment

node

The node in which this agent stays

m

The modified molecule template