|
C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
|
Disjoint set main struct definition. More...
#include <disjoint_set.h>
Data Fields | |
| char * | name |
| Name of link list instance */. More... | |
| int | size |
| Max size of elems stored in disjoint set. More... | |
| t_dsetnode * | subset |
| Pointer to N sets. More... | |
| f_vgen | make |
| routine to add an new elem to the set More... | |
| f_set1 | find |
| routine to find an elem in the set More... | |
| f_set2 | merge |
| routine to merge to set More... | |
| f_print | |
| routine to print elements in the disjoint set More... | |
| f_destroy | destroy |
| routine to destroy the instace of disjoint set More... | |
Disjoint set main struct definition.
Definition at line 19 of file disjoint_set.h.
| f_destroy destroy |
routine to destroy the instace of disjoint set
Definition at line 29 of file disjoint_set.h.
| f_set1 find |
routine to find an elem in the set
Definition at line 25 of file disjoint_set.h.
| f_vgen make |
routine to add an new elem to the set
Definition at line 24 of file disjoint_set.h.
| f_set2 merge |
routine to merge to set
Definition at line 26 of file disjoint_set.h.
| char* name |
Name of link list instance */.
Definition at line 20 of file disjoint_set.h.
| f_print print |
routine to print elements in the disjoint set
Definition at line 28 of file disjoint_set.h.
| int size |
Max size of elems stored in disjoint set.
Definition at line 21 of file disjoint_set.h.
| t_dsetnode* subset |
Pointer to N sets.
Definition at line 22 of file disjoint_set.h.