alchemist-interfaces / it.unibo.alchemist.core.interfaces / Simulation / neighborAdded

neighborAdded

abstract fun neighborAdded(node: Node<T>!, n: Node<T>!): Unit

This method must get called in case a a communication link connecting two nodes gets created during the simulation. This method provides dependency and scheduling times re-computation for all the reactions interested by such change.

Parameters

node - Node<T>!: the node

n - Node<T>!: the second node