An open API service indexing awesome lists of open source software.

https://github.com/pvigier/disjointset

Disjoint-set data structure C++ library
https://github.com/pvigier/disjointset

disjoint-set disjoint-sets union-find

Last synced: 7 months ago
JSON representation

Disjoint-set data structure C++ library

Awesome Lists containing this project

README

          

# DisjoinSet

DisjointSet is a C++ library that provides a [disjoint-set data structure](https://en.wikipedia.org/wiki/Disjoint-set_data_structure) implementation.

It uses the rank heuristic and path compression to offer near-constant-time operations.

Features:

* easy to use
* easy to install (header-only and no external dependency)
* very simple
* fast