#include <disjoint-set.hxx>
Classes | |
struct | elem |
Public Member Functions | |
disjoint_set (T) | |
T | find (T) |
void | join (T, T) |
T | size (T) |
T | numberOfSets () const |
void | representativeLabeling (std::map< T, T > &) |
Definition at line 13 of file disjoint-set.hxx.
opengm::disjoint_set< T >::disjoint_set | ( | T | numberOfElements | ) | [inline] |
Definition at line 47 of file disjoint-set.hxx.
T opengm::disjoint_set< T >::find | ( | T | x | ) | [inline] |
void opengm::disjoint_set< T >::join | ( | T | x, | |
T | y | |||
) | [inline] |
T opengm::disjoint_set< T >::numberOfSets | ( | ) | const [inline] |
Definition at line 95 of file disjoint-set.hxx.
void opengm::disjoint_set< T >::representativeLabeling | ( | std::map< T, T > & | repL | ) | [inline] |
T opengm::disjoint_set< T >::size | ( | T | i | ) | [inline] |