TTK
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
ttk::ftm::AtomicUF Class Reference

#include <FTMAtomicUF.h>

Public Member Functions

 AtomicUF (SimplexId extrema=nullVertex)
 
AtomicUFfind ()
 
SimplexId getExtrema () const
 
CurrentStategetFirstState ()
 
CurrentStategetState (const std::size_t id)
 
FTMAtomicVector< CurrentState * > & getStates ()
 
size_t getNbStates () const
 
FTMAtomicVector< idSuperArc > & getOpenedArcs ()
 
void clearOpenedArcs ()
 
void setExtrema (SimplexId v)
 
void reserveData (const size_t &s)
 
void addState (CurrentState *s)
 
void addArcToClose (idSuperArc a)
 
CurrentStatemergeStates ()
 
int getRank () const
 
void setRank (const int &rank)
 
void setParent (AtomicUF *parent)
 
bool operator< (const AtomicUF &other) const
 
bool operator> (const AtomicUF &other) const
 

Static Public Member Functions

static AtomicUFmakeUnion (AtomicUF *uf0, AtomicUF *uf1)
 
static AtomicUFmakeUnion (std::vector< AtomicUF * > &sets)
 

Detailed Description

Definition at line 26 of file FTMAtomicUF.h.

Constructor & Destructor Documentation

◆ AtomicUF()

ttk::ftm::AtomicUF::AtomicUF ( SimplexId  extrema = nullVertex)
inlineexplicit

Definition at line 33 of file FTMAtomicUF.h.

Member Function Documentation

◆ addArcToClose()

void ttk::ftm::AtomicUF::addArcToClose ( idSuperArc  a)
inline

Definition at line 106 of file FTMAtomicUF.h.

◆ addState()

void ttk::ftm::AtomicUF::addState ( CurrentState s)
inline

Definition at line 102 of file FTMAtomicUF.h.

◆ clearOpenedArcs()

void ttk::ftm::AtomicUF::clearOpenedArcs ( )
inline

Definition at line 90 of file FTMAtomicUF.h.

◆ find()

AtomicUF * ttk::ftm::AtomicUF::find ( )
inline

Definition at line 38 of file FTMAtomicUF.h.

◆ getExtrema()

SimplexId ttk::ftm::AtomicUF::getExtrema ( ) const
inline

Definition at line 54 of file FTMAtomicUF.h.

◆ getFirstState()

CurrentState * ttk::ftm::AtomicUF::getFirstState ( )
inline

Definition at line 58 of file FTMAtomicUF.h.

◆ getNbStates()

size_t ttk::ftm::AtomicUF::getNbStates ( ) const
inline

Definition at line 82 of file FTMAtomicUF.h.

◆ getOpenedArcs()

FTMAtomicVector< idSuperArc > & ttk::ftm::AtomicUF::getOpenedArcs ( )
inline

Definition at line 86 of file FTMAtomicUF.h.

◆ getRank()

int ttk::ftm::AtomicUF::getRank ( ) const
inline

Definition at line 124 of file FTMAtomicUF.h.

◆ getState()

CurrentState * ttk::ftm::AtomicUF::getState ( const std::size_t  id)
inline

Definition at line 68 of file FTMAtomicUF.h.

◆ getStates()

FTMAtomicVector< CurrentState * > & ttk::ftm::AtomicUF::getStates ( )
inline

Definition at line 78 of file FTMAtomicUF.h.

◆ makeUnion() [1/2]

static AtomicUF * ttk::ftm::AtomicUF::makeUnion ( AtomicUF uf0,
AtomicUF uf1 
)
inlinestatic

Definition at line 142 of file FTMAtomicUF.h.

◆ makeUnion() [2/2]

static AtomicUF * ttk::ftm::AtomicUF::makeUnion ( std::vector< AtomicUF * > &  sets)
inlinestatic

Definition at line 164 of file FTMAtomicUF.h.

◆ mergeStates()

CurrentState * ttk::ftm::AtomicUF::mergeStates ( )
inline

Definition at line 110 of file FTMAtomicUF.h.

◆ operator<()

bool ttk::ftm::AtomicUF::operator< ( const AtomicUF other) const
inline

Definition at line 179 of file FTMAtomicUF.h.

◆ operator>()

bool ttk::ftm::AtomicUF::operator> ( const AtomicUF other) const
inline

Definition at line 183 of file FTMAtomicUF.h.

◆ reserveData()

void ttk::ftm::AtomicUF::reserveData ( const size_t &  s)
inline

Definition at line 98 of file FTMAtomicUF.h.

◆ setExtrema()

void ttk::ftm::AtomicUF::setExtrema ( SimplexId  v)
inline

Definition at line 94 of file FTMAtomicUF.h.

◆ setParent()

void ttk::ftm::AtomicUF::setParent ( AtomicUF parent)
inline

Definition at line 135 of file FTMAtomicUF.h.

◆ setRank()

void ttk::ftm::AtomicUF::setRank ( const int &  rank)
inline

Definition at line 128 of file FTMAtomicUF.h.


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