data_structures
Functions
union_find_count.c File Reference
#include "union_find.h"
+ Include dependency graph for union_find_count.c:

Go to the source code of this file.

Functions

size_t union_find_count (const t_union_find *uf)
 Returns the number of disconnected sets. More...
 

Function Documentation

◆ union_find_count()

size_t union_find_count ( const t_union_find uf)

Returns the number of disconnected sets.

Returns
The number of disconnected sets

Definition at line 16 of file union_find_count.c.