From: Jean Privat Date: Mon, 17 Nov 2014 15:54:17 +0000 (-0500) Subject: Merge: lib: Enhanced DisjointSet data structure X-Git-Tag: v0.6.11~33 X-Git-Url: http://nitlanguage.org Merge: lib: Enhanced DisjointSet data structure It is now possible to retrieve the number of subsets in the partition by using the 'number_of_subsets' property. It is useful for intsance when one wants to know if the partition is a singleton, or if is trivial (every element is alone in its subset). Pull-Request: #912 Reviewed-by: Jean Privat Reviewed-by: Alexis Laferrière --- d69e0a4798d7651cfb2baa50a765ea40348d4db8