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

getCenter

abstract fun getCenter(): Node<T>!

Allows to access the central node.

Return
Node<T>!: the central node, namely the node whose neighbors are represented by this structure.