CellProperty

A node's capability to behave as a cell.

Inheritors

Properties

Link copied to clipboard

The map junction - node - quantity.

Link copied to clipboard

The total number of junctions in this node.

Link copied to clipboard
abstract val node: Node<Double>

The node to which the capability is added.

Link copied to clipboard
abstract var polarizationVersor: P

The polarization versor, e.g. a versor indicating the direction in which the cell will move the next time.

Functions

Link copied to clipboard
open fun addJunction(junction: Junction, neighbor: Node<Double>)

Add a junction to the current node. junction the junction. neighbor the neighbor node at the other side of the junction.

Link copied to clipboard
abstract fun addPolarizationVersor(versor: P)

Add versor to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell.

Link copied to clipboard
abstract fun cloneOnNewNode(node: Node<Double>): Capability<Double>

Clones this property to be added on a new node.

Link copied to clipboard
open fun containsJunction(junction: Junction): Boolean

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.

Link copied to clipboard

Returns set of Nodes which are linked by a junction with the current node.

Link copied to clipboard

Returns a set of Nodes which are linked with the current node by a junction of the type junction.

Link copied to clipboard

Return an observable view of the presence of the junction in the current node.

Link copied to clipboard

Returns an observable view of the set of Nodes which are linked with the current node by a junction.

Link copied to clipboard
open fun removeJunction(junction: Junction, neighbor: Node<Double>)

Removes a junction from this node.

Link copied to clipboard
infix fun Capability<*>.shouldEqual(other: Capability<*>)