@Override
	public int find(int p)
	{
		// The component to which p belongs is immediate from its component-id,
		// id[p] only if id[p] is the same as the vertex itself
		// Else the component-id is just a link in the path which leads to the
		// actual component-id
		while (id[p] != p)
			p = id[p];
		return p;
	}