C Everything
This is a C repository containing a curated set of generic data structures and algorithm.
disjoint_set Struct Reference

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_dsetnodesubset
 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 print
 routine to print elements in the disjoint set More...
 
f_destroy destroy
 routine to destroy the instace of disjoint set More...
 

Detailed Description

Disjoint set main struct definition.

Definition at line 19 of file disjoint_set.h.

Field Documentation

◆ destroy

f_destroy destroy

routine to destroy the instace of disjoint set

Definition at line 29 of file disjoint_set.h.

◆ find

f_set1 find

routine to find an elem in the set

Definition at line 25 of file disjoint_set.h.

◆ make

f_vgen make

routine to add an new elem to the set

Definition at line 24 of file disjoint_set.h.

◆ merge

f_set2 merge

routine to merge to set

Definition at line 26 of file disjoint_set.h.

◆ name

char* name

Name of link list instance *‍/.

Definition at line 20 of file disjoint_set.h.

◆ print

f_print print

routine to print elements in the disjoint set

Definition at line 28 of file disjoint_set.h.

◆ size

int size

Max size of elems stored in disjoint set.

Definition at line 21 of file disjoint_set.h.

◆ subset

t_dsetnode* subset

Pointer to N sets.

Definition at line 22 of file disjoint_set.h.


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