Public Member Functions | |
unionFind (int n_) | |
~unionFind (void) | |
int * | detach (void) |
int | find (int i) const |
void | combine (int a, int b) |
void | compress (void) |
unionFind (int n_) | |
~unionFind (void) | |
int * | detach (void) |
int | find (int i) const |
void | combine (int a, int b) |
void | compress (void) |
Private Attributes | |
int | n |
int * | parent |
int * | parent |
Definition at line 21 of file symmetries.C.
unionFind::unionFind | ( | int | n_ | ) | [inline] |
unionFind::~unionFind | ( | void | ) | [inline] |
unionFind::unionFind | ( | int | n_ | ) | [inline] |
unionFind::~unionFind | ( | void | ) | [inline] |
int* unionFind::detach | ( | void | ) | [inline] |
Definition at line 34 of file symmetries.C.
References parent.
Referenced by FEM_Partition::getCanon(), and main().
Definition at line 41 of file symmetries.C.
References parent.
Referenced by combine(), and compress().
Definition at line 47 of file symmetries.C.
References find(), and parent.
void unionFind::compress | ( | void | ) | [inline] |
Definition at line 53 of file symmetries.C.
References find(), n, and parent.
Referenced by FEM_Partition::getCanon(), and main().
int* unionFind::detach | ( | void | ) | [inline] |
Definition at line 44 of file symmetries.C.
References find(), and parent.
void unionFind::compress | ( | void | ) | [inline] |
Definition at line 50 of file symmetries.C.
References find(), n, and parent.
int unionFind::n [private] |
int* unionFind::parent [private] |
Definition at line 23 of file symmetries.C.
Referenced by combine(), compress(), detach(), find(), unionFind(), and ~unionFind().
int* unionFind::parent [private] |
Definition at line 20 of file symmetries.C.