addNode

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

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.

Return

true if node is added in the environment

Parameters

node

The node to add

p

The position where to place it