Get the root node of an element

require: has(e)

Property definitions

core $ DisjointSet :: find
	# Get the root node of an element
	# require: `has(e)`
	private fun find(e:E): DisjointSetNode
	do
		assert nodes.has_key(e)
		var ne = nodes[e]
		if ne.parent == ne then return ne
		var res = nfind(ne)
		nodes[e] = res
		return res
	end
lib/core/collection/union_find.nit:88,2--98,4