#include "util.hpp"
Public Member Functions | |
DisjointSets (int elem_count=0) | |
void | createOneElemSets (int elem_count) |
int | findSetByElem (int elem) |
int | mergeSets (int set1, int set2) |
Public Attributes | |
std::vector< int > | parent |
std::vector< int > | size |
|
inline |
void cv::detail::DisjointSets::createOneElemSets | ( | int | elem_count | ) |
int cv::detail::DisjointSets::findSetByElem | ( | int | elem | ) |
int cv::detail::DisjointSets::mergeSets | ( | int | set1, |
int | set2 | ||
) |
std::vector<int> cv::detail::DisjointSets::parent |
std::vector<int> cv::detail::DisjointSets::size |