AliceVision
Photogrammetric Computer Vision Framework
Public Member Functions | Public Attributes | List of all members
aliceVision::Universe Class Reference

Allows to perform labelling by creating node and connecting them. More...

#include <Universe.hpp>

Public Member Functions

 Universe (int elements)
 
void initialize ()
 Initialize all elements to the default values.
 
int find (int x)
 
void join (int x, int y)
 
void addEdge (int x, int y)
 
int size (int x) const
 

Public Attributes

uni_eltelts
 
int num
 
int allelems
 

Detailed Description

Allows to perform labelling by creating node and connecting them.

Member Function Documentation

◆ find()

int aliceVision::Universe::find ( int  x)

Retrieve the smallest index of the elements connected to x.

Warning
: it updates the local indexes along the way

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