libFirm
|
Union-Find datastructure. More...
Go to the source code of this file.
Functions | |
static void | uf_init (int *data, size_t n_elems) |
Call this to initialize an array of count elements to be used by the union find functions. | |
static int | uf_union (int *data, int set1, int set2) |
Merge 2 sets (union operation). | |
static int | uf_find (int *data, int e) |
Finds the representative for the set with member e . |
Union-Find datastructure.
Definition in file unionfind.h.