Package it.unibo.alchemist.model.implementations.nodes

Types

Link copied to clipboard
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>

This class realizes an abstract node. You may extend it to realize your own nodes.