class is derived from the class ABA_SET and holds for each set a rank which approximates the logarithm of the tree size representing the set and is also an upper bound for the height of this tree.
#include <fastset.h>
Inheritance diagram for ABA_FASTSET::
|
class is derived from the class ABA_SET and holds for each set a rank which approximates the logarithm of the tree size representing the set and is also an upper bound for the height of this tree.
Definition at line 42 of file fastset.h.
The constructor.
At the beginning each possible set receives the rank 0.
Unites the sets x and y.
It differs from the function unionSets() of the base class ABA_SET such that the tree with smaller rank is attached to the one with larger rank. Therefore, x is no more guaranteed to be the representative of the joint set.
true If both sets have been disjoint before the function call,
false otherwise.
Reimplemented from ABA_SET.
Definition at line 71 of file fastset.h.
The documentation for this class was generated from the following file: