alchemist-interfaces / it.unibo.alchemist.model.interfaces / Neighborhood / add

add

abstract fun add(node: Node<T>!): Neighborhood<T>!

Parameters

node - Node<T>!: the Node to add

Return
Neighborhood<T>!: a new Neighborhood with the same center and the new node among its neighbors