Cell
class Cell @JvmOverloads constructor(val environment: Environment<Double, Euclidean2DPosition>, val node: Node<Double>, val junctions: MutableMap<Junction, MutableMap<Node<Double>, Int>> = LinkedHashMap()) : AbstractNodeProperty<Double> , CellProperty<Euclidean2DPosition> (source)
Base implementation of a CellProperty.
Constructors
Link copied to clipboard
constructor(environment: Environment<Double, Euclidean2DPosition>, node: Node<Double>, junctions: MutableMap<Junction, MutableMap<Node<Double>, Int>> = LinkedHashMap())
Properties
Link copied to clipboard
The environment in which node is moving.
Link copied to clipboard
The map junction - node - quantity.
Link copied to clipboard
The total number of junctions presents in this node.
Link copied to clipboard
The polarization versor, e.g. a versor indicating the direction in which the cell will move the next time.
Functions
Link copied to clipboard
Link copied to clipboard
add versor to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell.
Link copied to clipboard
Link copied to clipboard
Return true if a junction is present in the current node, false otherwise. Note: a junction is considered present if the method junction.equals(j) return true. junction the junction.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard