alchemist-interfaces / it.unibo.alchemist.model.interfaces / Environment / getNeighborhood

getNeighborhood

abstract fun getNeighborhood(center: Node<T>!): Neighborhood<T>!

Given a node, this method returns its neighborhood.

Parameters

center - Node<T>!: The node you want the neighbors to be found

Return
Neighborhood<T>!: the neighborhood