ChemotacticPolarization

constructor(environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, biomolecule: Biomolecule, ascendGrad: String)(source)

Parameters

environment

the environment

node

the node

biomolecule

biomolecule's name

ascendGrad

if that parameter is true, the polarization versor of the cell will be directed towards the highest concentration of biomolecule in the neighborhood; if it's false, the versor will be directed in the exactly opposite direction.


constructor(environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, biomolecule: String, ascendGrad: String)(source)

Initialize a polarization activity regulated by environmental concentration of a molecule.

Parameters

environment

the environment

node

the node

biomolecule

biomolecule's name

ascendGrad

if that parameter is true, the polarization versor of the cell will be directed towards the highest concentration of biomolecule in the neighborhood; if it's false, the versor will be directed in the opposite direction.