Environment Node Impl
A node with non-negative concentration.
Functions
Adds a capability to the node.
Adds a reaction to this node. The reaction is added only in the node, but not in the it.unibo.alchemist.core.Simulation scheduler, so it will never be executed. To add the reaction also in the scheduler (and start to execute it), you have to call also the method it.unibo.alchemist.core.Simulation.reactionAdded.
returns a NodeProperty of the provided superType.
returns a NodeProperty of the provided type C.
returns a NodeProperty of the provided superType.
returns a NodeProperty of the provided type C or null if the node does not have a compatible property.
Calculates the concentration of a molecule.
Returns a random element of the Iterable using the provided randomGenerator.
Removes a reaction from this node. The reaction is removed only in the node, but not in the it.unibo.alchemist.core.Simulation scheduler, so the scheduler will continue to execute the reaction. To remove the reaction also in the scheduler (and stop to execute it), you have to call also the method it.unibo.alchemist.core.Simulation.reactionRemoved.
Returns the reactions.
Converts a Node to a NodeSurrogate.
A function that maps a it.unibo.alchemist.model.Node to its surrogate class it.unibo.alchemist.boundary.webui.common.model.surrogate.NodeSurrogate.