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

contains

abstract fun contains(n: Node<T>!): Boolean

Verifies if a node is contained inside a neighborhood.

Parameters

n - Node<T>!: the node to be searched

Return
Boolean: true if n belongs to this neighborhood