add

open override fun add(node: Node<T>): ERROR CLASS: Ambiguity: SimpleNeighborhood, [it/unibo/alchemist/model/neighborhoods/SimpleNeighborhood.SimpleNeighborhood, it/unibo/alchemist/model/neighborhoods/SimpleNeighborhood.SimpleNeighborhood]

Return

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

Parameters

node

the Node to add