Point Cloud Library (PCL)  1.14.0-dev
List of all members | Public Member Functions | Public Attributes
pcl::cuda::detail::DjSets Class Reference

#include </__w/1/s/cuda/segmentation/include/pcl/cuda/segmentation/mssegmentation.h>

Public Member Functions

 DjSets (int n)
 
int find (int elem)
 
int merge (int set1, int set2)
 
void init (int n)
 

Public Attributes

std::vector< int > parent
 
std::vector< int > rank
 
std::vector< int > size
 

Detailed Description

Definition at line 66 of file mssegmentation.h.

Constructor & Destructor Documentation

◆ DjSets()

pcl::cuda::detail::DjSets::DjSets ( int  n)

Definition at line 148 of file mssegmentation.h.

References init().

Member Function Documentation

◆ find()

int pcl::cuda::detail::DjSets::find ( int  elem)
inline

Definition at line 154 of file mssegmentation.h.

References parent.

◆ init()

void pcl::cuda::detail::DjSets::init ( int  n)
inline

Definition at line 168 of file mssegmentation.h.

References parent, rank, and size.

Referenced by DjSets().

◆ merge()

int pcl::cuda::detail::DjSets::merge ( int  set1,
int  set2 
)
inline

Definition at line 177 of file mssegmentation.h.

References parent, rank, and size.

Member Data Documentation

◆ parent

std::vector<int> pcl::cuda::detail::DjSets::parent

Definition at line 75 of file mssegmentation.h.

Referenced by find(), init(), and merge().

◆ rank

std::vector<int> pcl::cuda::detail::DjSets::rank

Definition at line 76 of file mssegmentation.h.

Referenced by init(), and merge().

◆ size

std::vector<int> pcl::cuda::detail::DjSets::size

Definition at line 77 of file mssegmentation.h.

Referenced by init(), and merge().


The documentation for this class was generated from the following file: