SAPEREChemotaxis
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, response: ILsaMolecule, gradient: ILsaMolecule, idPosition: Int)
Builds a new SAPEREChemotaxis.
Parameters
environment
the environment
node
the node
response
the molecule to move
gradient
the molecule template that, once matched, will contain the node ID where move the molecule
id Position
the argument number where to search for the node ID