|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Union-Find (Disjoint Set Union) data structure. More...
#include <tpl_dynArray.H>#include <tpl_dynSetTree.H>#include <limits>#include <stdexcept>#include <ah-errors.H>Go to the source code of this file.
Classes | |
| class | Fixed_Relation |
| Binary relation between a set of integers. More... | |
| class | Relation |
| Binary relation between a set of integers. More... | |
| class | Relation_T< T, Compare > |
| Binary relation between a set of items. More... | |
| struct | Relation_T< T, Compare >::Pair |
| struct | Relation_T< T, Compare >::Cmp |
Union-Find (Disjoint Set Union) data structure.
Efficiently tracks partitioning of elements into disjoint sets. Supports near-constant time union and find operations.
Definition in file tpl_union.H.