nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: src/model/model_index: model index uses BKTree
[nit.git]
/
lib
/
core
/
collection
/
union_find.nit
diff --git
a/lib/core/collection/union_find.nit
b/lib/core/collection/union_find.nit
index
80c5005
..
864c509
100644
(file)
--- a/
lib/core/collection/union_find.nit
+++ b/
lib/core/collection/union_find.nit
@@
-140,6
+140,7
@@
class DisjointSet[E]
end
# Are all elements of `es` in the same subset?
+ #
# var s = new DisjointSet[Int]
# s.add_all([1,2,3,4,5,6])
# s.union_all([1,2,3])