|
ADS
Algorithms and Data Structures
|
The MFSET on lists of section 10.2.1, each element knowing the head of its list. More...
Files | |
| file | ADS/mfset/ListMFSet.h |
| The MFSET on lists of section 10.2.1 [see MFSet.h], each element knowing the head of its list: find() in \( O( 1 ) \), merge() relabels the shorter list, so that an element is relabeled at most \( \log_2 n \) times. | |
Classes | |
| class | ADS::ListMFSet |
| the union of disjoint sets on lists, each element with the head of its list More... | |
The MFSET on lists of section 10.2.1, each element knowing the head of its list.
The definitions, the invariants and the costs of the area are in Theory of merge-find sets.