Node
Parameters
This interface must be implemented in every realization of node
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.
Sets the concentration of mol to c.
Converts a Node to a NodeSurrogate.