SAPEREAgent

constructor(node: ILsaNode)

Creates a new SAPERE 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

node

The node in which this agent stays


constructor(node: ILsaNode, m1: ILsaMolecule)

Creates a new SAPERE Agent stub. If you use this constructor, you must be sure that your agent only modifies molecules matching the template passed as m1.

Parameters

node

The node in which this agent stays

m1

The molecule template it modifies


constructor(node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule)

Creates a new SAPERE Agent stub. If you use this constructor, you must be sure that your agent only modifies molecules matching the template passed as m1 and/or the template passed in m2.

Parameters

node

The node in which this agent stays

m1

The first molecule template it modifies

m2

The second molecule template it modifies


constructor(node: ILsaNode, m1: ILsaMolecule, m2: ILsaMolecule, m3: ILsaMolecule)

Creates a new SAPERE Agent stub. If you use this constructor, you must be sure that your agent only modifies molecules matching the template passed as m1 and/or the template passed in m2 and/or the template passed in m3.

Parameters

node

The node in which this agent stays

m1

The first molecule template it modifies

m2

The second molecule template it modifies

m3

The third molecule template it modifies