AbstractSAPEREAgent

constructor(reaction: NodeReaction<List<ILsaMolecule>>)

Creates an agent that does not modify any molecule (e.g., an agent that just moves a node).


constructor(reaction: NodeReaction<List<ILsaMolecule>>, m1: ILsaMolecule)

Creates an agent that only modifies molecules matching the template m1.


constructor(reaction: NodeReaction<List<ILsaMolecule>>, m1: ILsaMolecule, m2: ILsaMolecule)

Creates an agent that only modifies molecules matching the templates m1 and m2.


constructor(reaction: NodeReaction<List<ILsaMolecule>>, m1: ILsaMolecule, m2: ILsaMolecule, m3: ILsaMolecule)

Creates an agent that only modifies molecules matching the templates m1, m2, and m3.