ChangeBiomolConcentrationInNeighbor
class ChangeBiomolConcentrationInNeighbor(randomGenerator: RandomGenerator, environment: Environment<Double, *>, node: Node<Double>, val molecule: Biomolecule, val deltaConcentration: Double) : AbstractNeighborAction<Double> (source)
Changes the concentration of a Biomolecule (molecule) in a randomly-selected compatible neighbor cell by deltaConcentration.
Constructors
Link copied to clipboard
constructor(randomGenerator: RandomGenerator, environment: Environment<Double, *>, node: Node<Double>, molecule: Biomolecule, deltaConcentration: Double)
Functions
Link copied to clipboard
open override fun cloneAction(node: Node<Double>, reaction: Reaction<Double>): ChangeBiomolConcentrationInNeighbor
Link copied to clipboard
Execute the action on a random neighbor if the node has a neighborhood. Otherwise do nothing.
Execute the action on the given target node. NOTE, it is NOT guaranteed that this method checks if the target node is in the actual neighborhood of the node.
Link copied to clipboard
Link copied to clipboard