Classes | Typedefs | Functions
unionfind.h File Reference
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
Include dependency graph for unionfind.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  unionfind
 

Typedefs

typedef struct unionfind unionfind_t
 

Functions

static uint32_t unionfind_connect (unionfind_t *uf, uint32_t aid, uint32_t bid)
 
static unionfind_tunionfind_create (uint32_t maxid)
 
static void unionfind_destroy (unionfind_t *uf)
 
static uint32_t unionfind_get_representative (unionfind_t *uf, uint32_t id)
 
static uint32_t unionfind_get_set_size (unionfind_t *uf, uint32_t id)
 

Typedef Documentation

◆ unionfind_t

typedef struct unionfind unionfind_t

Definition at line 34 of file unionfind.h.

Function Documentation

◆ unionfind_connect()

static uint32_t unionfind_connect ( unionfind_t uf,
uint32_t  aid,
uint32_t  bid 
)
inlinestatic

Definition at line 113 of file unionfind.h.

◆ unionfind_create()

static unionfind_t* unionfind_create ( uint32_t  maxid)
inlinestatic

Definition at line 47 of file unionfind.h.

◆ unionfind_destroy()

static void unionfind_destroy ( unionfind_t uf)
inlinestatic

Definition at line 58 of file unionfind.h.

◆ unionfind_get_representative()

static uint32_t unionfind_get_representative ( unionfind_t uf,
uint32_t  id 
)
inlinestatic

Definition at line 83 of file unionfind.h.

◆ unionfind_get_set_size()

static uint32_t unionfind_get_set_size ( unionfind_t uf,
uint32_t  id 
)
inlinestatic

Definition at line 107 of file unionfind.h.



apriltag
Author(s): Edwin Olson , Max Krogius
autogenerated on Sun Apr 20 2025 02:08:47