SAPEREMoveNodeAgent

constructor(environment: 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

environment

The current environment

node

The node in which this agent stays


constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, molecule: ILsaMolecule)

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

Parameters

environment

The current environment

node

The node in which this agent stays

molecule

The modified molecule template