#include <string.h>
#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
◆ unionfind_t
◆ unionfind_connect()
static uint32_t unionfind_connect |
( |
unionfind_t * | uf, |
|
|
uint32_t | aid, |
|
|
uint32_t | bid ) |
|
inlinestatic |
◆ unionfind_create()
static unionfind_t * unionfind_create |
( |
uint32_t | maxid | ) |
|
|
inlinestatic |
◆ unionfind_destroy()
◆ unionfind_get_representative()
static uint32_t unionfind_get_representative |
( |
unionfind_t * | uf, |
|
|
uint32_t | id ) |
|
inlinestatic |
◆ unionfind_get_set_size()
static uint32_t unionfind_get_set_size |
( |
unionfind_t * | uf, |
|
|
uint32_t | id ) |
|
inlinestatic |