add

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

Return

a new Neighborhood with the same center and the new node among its neighbors

Parameters

node

the Node to add