27#ifndef ZEPHYR_INCLUDE_SYS_SET_H_
28#define ZEPHYR_INCLUDE_SYS_SET_H_
struct sys_set_node * sys_set_find(struct sys_set_node *node)
Find the root of the disjoint-set.
void sys_set_union(struct sys_set_node *node1, struct sys_set_node *node2)
Merge two nodes into the same disjoint-set.
static void sys_set_makeset(struct sys_set_node *node, uint16_t rank)
Initialize a disjoint-set.
Definition set.h:48
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Disjoint-set node structure.
Definition set.h:35