CellNodeImpl

open class CellNodeImpl<P : Position<P>?, Vector<P>?> : DoubleNode, CellNode<P> , CellWithCircularArea<P>

Parameters

<P>

Constructors

Link copied to clipboard
open fun CellNodeImpl(env: Environment<Double, P>, diameter: Double)
create a new cell node.
Link copied to clipboard
open fun CellNodeImpl(env: Environment<Double, P>)

Functions

Link copied to clipboard
fun addJunction(j: Junction, neighbor: CellNode<out Any>)
Add a junction to the current node.
Link copied to clipboard
fun addPolarization(v: P)
add v to the polarization versor inside the cell; useful for considering the combination of various stimuli in a cell.
Link copied to clipboard
fun addReaction(reactionToAdd: Reaction<T>)
Link copied to clipboard
open fun cloneNode(currentTime: Time): AbstractNode<T>
abstract fun cloneNode(p: Time): Node<T>
Link copied to clipboard
fun compareTo(other: Node<T>): Int
Link copied to clipboard
fun contains(m: Molecule): Boolean
Link copied to clipboard
fun containsJunction(j: Junction): Boolean
Return true if a junction is present in the current node, false otherwise.
Link copied to clipboard
fun equals(other: Any): Boolean
Link copied to clipboard
fun forEach(action: Consumer<out Any>)
Link copied to clipboard
fun getAllNodesLinkWithJunction(): Set<CellNode<out Any>>
Link copied to clipboard
open fun getConcentration(molecule: Molecule): T
Link copied to clipboard
open fun getContents(): Map<Molecule, T>
Link copied to clipboard
fun getId(): Int
Link copied to clipboard
fun getJunctionsCount(): Int
Link copied to clipboard
open fun getMoleculeCount(): Int
Link copied to clipboard
fun getNeighborsLinkWithJunction(j: Junction): Set<CellNode<out Any>>
Returns a set of ICellNode which are linked with the current node by a junction of the type j.
Link copied to clipboard
fun getRadius(): Double
Link copied to clipboard
fun getReactions(): List<Reaction<T>>
Link copied to clipboard
fun hashCode(): Int
Link copied to clipboard
fun iterator(): Iterator<Reaction<T>>
abstract fun iterator(): Iterator<T>
Link copied to clipboard
open fun removeConcentration(moleculeToRemove: Molecule)
Link copied to clipboard
fun removeJunction(j: Junction, neighbor: CellNode<out Any>)
Remove a junction from this node.
Link copied to clipboard
fun removeReaction(reactionToRemove: Reaction<T>)
Link copied to clipboard
fun setConcentration(mol: Molecule, c: Double)
Link copied to clipboard
fun setPolarization(v: P)
set the polarization versor, e.g.
Link copied to clipboard
fun spliterator(): Spliterator<Reaction<T>>
open fun spliterator(): Spliterator<T>
Link copied to clipboard
open fun toString(): String

Properties

Link copied to clipboard
private open val diameter: Double
Link copied to clipboard
private val junctions: Map<Junction, Map<CellNode<out Any>, Integer>>
Link copied to clipboard
private open val polarizationVersor: P

Inheritors

Link copied to clipboard