GenericNode
open class GenericNode<T> @JvmOverloads constructor(val incarnation: Incarnation<T, *>, val environment: Environment<T, *>, val id: Int = idFromEnv(environment), val reactions: MutableList<Reaction<T>> = ArrayList(), val molecules: MutableMap<Molecule, T> = LinkedHashMap(), val properties: MutableList<NodeProperty<T>> = ArrayList()) : Node<T> (source)
This class realizes an abstract node. You may extend it to realize your own nodes.
Parameters
Constructors
Link copied to clipboard
constructor(incarnation: Incarnation<T, *>, environment: Environment<T, *>, id: Int = idFromEnv(environment), reactions: MutableList<Reaction<T>> = ArrayList(), molecules: MutableMap<Molecule, T> = LinkedHashMap(), properties: MutableList<NodeProperty<T>> = ArrayList())
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a random element of the Iterable using the provided randomGenerator.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the reactions.