SAPEREChemotaxis
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, response: ILsaMolecule, gradient: ILsaMolecule, idPosition: Int)(source)
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
idPosition
the argument number where to search for the node ID