A disjoint-set structure, or union–find, keeps a partition of a set of elements, at first into singletons, under two operations: find(x) returns the representative of the set of , the same element for all members of a set; union(x, y) merges the sets of and .
Computer Science · Begrippenlijst
Wat is Disjoint-set structure, representative?
Ook bekend als: disjoint-set structure · union--find · representative (of a set)