SAPEREChemotaxis
This class provides a chemotaxis implementation for SAPERE, namely, an agent able to move a molecule towards a specific node.
Parameters
<P>
position type
Constructors
Link copied to clipboard
constructor(environment: Environment<List<ILsaMolecule>, P>, node: ILsaNode, response: ILsaMolecule, gradient: ILsaMolecule, idPosition: Int)
Builds a new SAPEREChemotaxis.
Functions
Link copied to clipboard
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): ILsaAction
abstract fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): LsaAbstractAction
open fun cloneAction(node: Node<List<ILsaMolecule>>, reaction: Reaction<List<ILsaMolecule>>): SAPEREAgent
This method allows to clone this action on a new node.
Link copied to clipboard
Link copied to clipboard
How to override: if you intend your action to influence any reaction with compatible context, return null.
Link copied to clipboard