Merge: lib: Enhanced DisjointSet data structure
authorJean Privat <jean@pryen.org>
Mon, 17 Nov 2014 15:54:17 +0000 (10:54 -0500)
committerJean Privat <jean@pryen.org>
Mon, 17 Nov 2014 15:54:17 +0000 (10:54 -0500)
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 <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>


Trivial merge