addNode

abstract fun addNode(node: Node<T>, p: P)

This method allows to add a new node to this environment. The environment is responsible to call the right method of the simulation in order to ensure that the reaction is properly scheduled.

Parameters

node

The node to add

p

The position where to place it