ChemotacticPolarization

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

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 in direction of the highest concentration of biomolecule in 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)

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 in direction of the highest concentration of biomolecule in neighborhood; if it's false, the versor will be directed in the exactly the opposite direction.