35 #ifndef DATA_STRUCTURES_HEADER
36 #define DATA_STRUCTURES_HEADER
47 size_t Find(
size_t x);
57 #endif //DATA_STRUCTURES_HEADER
Union-find data structure, used in various graph algorithms.
Definition: data_structures.h:42
~UnionFind()
Definition: data_structures.cpp:49
size_t size
Definition: data_structures.h:51
size_t * father
Definition: data_structures.h:50
bool UnionSet(size_t x, size_t y)
Definition: data_structures.cpp:61
UnionFind(size_t n)
Definition: data_structures.cpp:41
namespace tw is mostly related to some utility functions developed by the repository owner...
Definition: opencv_libvot_api.cpp:12
size_t Find(size_t x)
Definition: data_structures.cpp:54