Class ChemotacticPolarization
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Action
,java.io.Serializable
public final class ChemotacticPolarization extends AbstractAction<T>
Models the chemotactic polarization of a Cell.
-
-
Constructor Summary
Constructors Constructor Description ChemotacticPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, Biomolecule biomolecule, String ascendGrad)
ChemotacticPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, String biomolecule, String ascendGrad)
Initialize a polarization activity regulated by environmental concentration of a molecule.
-
Method Summary
Modifier and Type Method Description ChemotacticPolarization
cloneAction(Node<Double> node, Reaction<Double> reaction)
void
execute()
Context
getContext()
-
-
Constructor Detail
-
ChemotacticPolarization
ChemotacticPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, Biomolecule biomolecule, String ascendGrad)
- Parameters:
environment
- the environmentnode
- the nodebiomolecule
- biomolecule's nameascendGrad
- 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.
-
ChemotacticPolarization
ChemotacticPolarization(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, String biomolecule, String ascendGrad)
Initialize a polarization activity regulated by environmental concentration of a molecule.- Parameters:
environment
- the environmentnode
- the nodebiomolecule
- biomolecule's nameascendGrad
- 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.
-
-
Method Detail
-
cloneAction
ChemotacticPolarization cloneAction(Node<Double> node, Reaction<Double> reaction)
-
execute
void execute()
-
getContext
Context getContext()
-
-
-
-