contains

open operator override fun contains(node: Node<T>?): ERROR CLASS: Unresolved name: contains

Verifies if a node is contained inside a neighborhood.

Return

true if n belongs to this neighborhood

Parameters

n

the node to be searched