ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ListMFSet.h

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...

Detailed description

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.