Class Cell
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.NodeProperty
,it.unibo.alchemist.model.biochemistry.CellProperty
,java.io.Serializable
public final class Cell extends AbstractNodeProperty<Double> implements CellProperty<Euclidean2DPosition>
Base implementation of a CellProperty.
-
-
Field Summary
Fields Modifier and Type Field Description private Euclidean2DPosition
polarizationVersor
private final Environment<Double, Euclidean2DPosition>
environment
private final Node<Double>
node
private final Map<Junction, Map<Node<Double>, Integer>>
junctions
private final Integer
junctionsCount
-
Constructor Summary
Constructors Constructor Description Cell(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, Map<Junction, Map<Node<Double>, Integer>> junctions)
Cell(Environment<Double, Euclidean2DPosition> environment, Node<Double> node)
-
Method Summary
Modifier and Type Method Description Euclidean2DPosition
getPolarizationVersor()
The polarization versor, e.g. Unit
setPolarizationVersor(Euclidean2DPosition polarizationVersor)
The polarization versor, e.g. final Environment<Double, Euclidean2DPosition>
getEnvironment()
The environment in which node is moving. Node<Double>
getNode()
Map<Junction, Map<Node<Double>, Integer>>
getJunctions()
The map junction - node - quantity. Unit
addPolarizationVersor(Euclidean2DPosition versor)
add versor to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell. Cell
cloneOnNewNode(Node<Double> node)
-
Methods inherited from class it.unibo.alchemist.model.biochemistry.CellProperty
addJunction, containsJunction, getAllNodesLinkWithJunction, getJunctionsCount, getNeighborLinkWithJunction, removeJunction
-
Methods inherited from class it.unibo.alchemist.model.properties.AbstractNodeProperty
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
Cell
Cell(Environment<Double, Euclidean2DPosition> environment, Node<Double> node, Map<Junction, Map<Node<Double>, Integer>> junctions)
-
Cell
Cell(Environment<Double, Euclidean2DPosition> environment, Node<Double> node)
-
-
Method Detail
-
getPolarizationVersor
Euclidean2DPosition getPolarizationVersor()
The polarization versor, e.g. a versor indicating the direction in which the cell will move the next time.
-
setPolarizationVersor
Unit setPolarizationVersor(Euclidean2DPosition polarizationVersor)
The polarization versor, e.g. a versor indicating the direction in which the cell will move the next time.
-
getEnvironment
final Environment<Double, Euclidean2DPosition> getEnvironment()
The environment in which node is moving.
-
getJunctions
Map<Junction, Map<Node<Double>, Integer>> getJunctions()
The map junction - node - quantity.
-
addPolarizationVersor
Unit addPolarizationVersor(Euclidean2DPosition versor)
add versor to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell.
-
cloneOnNewNode
Cell cloneOnNewNode(Node<Double> node)
-
-
-
-