|
NTrace
GPU ray tracing framework
|
#include <UnionFind.hpp>
Public Member Functions | |
| UnionFind (int capacity=0) | |
| UnionFind (const UnionFind &other) | |
| ~UnionFind (void) | |
| int | unionSets (int idxA, int idxB) |
| int | findSet (int idx) const |
| bool | isSameSet (int idxA, int idxB) const |
| void | clear (void) |
| void | reset (void) |
| void | setCapacity (int capacity) |
| void | set (const UnionFind &other) |
| UnionFind & | operator= (const UnionFind &other) |
| int | operator[] (int idx) const |
Definition at line 35 of file UnionFind.hpp.
|
inlineexplicit |
Definition at line 38 of file UnionFind.hpp.
|
inline |
Definition at line 39 of file UnionFind.hpp.
|
inline |
Definition at line 40 of file UnionFind.hpp.
Definition at line 46 of file UnionFind.hpp.
| int UnionFind::findSet | ( | int | idx | ) | const |
Definition at line 57 of file UnionFind.cpp.
|
inline |
Definition at line 44 of file UnionFind.hpp.
Definition at line 51 of file UnionFind.hpp.
|
inline |
Definition at line 52 of file UnionFind.hpp.
Definition at line 47 of file UnionFind.hpp.
Definition at line 49 of file UnionFind.hpp.
|
inline |
Definition at line 48 of file UnionFind.hpp.
| int UnionFind::unionSets | ( | int | idxA, |
| int | idxB | ||
| ) |
Definition at line 34 of file UnionFind.cpp.