Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Public Attributes | List of all members
unionfind Struct Reference

Classes

struct  ufval
 

Public Member Functions

int find (int k)
 
int compressfind (int k)
 
void unite (int x, int y)
 
int find (int k)
 
int compressfind (int k)
 
void unite (int x, int y)
 

Public Attributes

vector< ufvalufvals
 

Member Function Documentation

int unionfind::compressfind ( int  k)
inline

References compressfind(), and ufvals.

int unionfind::compressfind ( int  k)
inline

References ufvals.

Referenced by compressfind(), and unite().

int unionfind::find ( int  k)
inline

References ufvals.

int unionfind::find ( int  k)
inline

References ufvals.

Referenced by setupmaterials().

void unionfind::unite ( int  x,
int  y 
)
inline
void unionfind::unite ( int  x,
int  y 
)
inline

Member Data Documentation

vector< ufval > unionfind::ufvals

Referenced by compressfind(), find(), and unite().


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