`unionfind` is a package for unionfind.
Project description
unionfind is a package for unionfind.
from unionfind import unionfind u = unionfind(3) # There are 3 items. u.unite(0, 2) # Set 0 and 2 to same group. u.issame(1, 2) # Ask "Are 1 and 2 same?" u.groups() # Return groups.
See also https://pypi.org/project/ortoolpy/
Requirements
Python 3
Features
nothing
Setup
$ pip install unionfind
History
0.0.1 (2015-4-3)
first release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unionfind-0.0.11.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for unionfind-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93796976ca00962cd59c206520ded0e58f377ed68c25023d958605796ddfe239 |
|
MD5 | 98f8d3ac36b3dcf2a9a58a4742050163 |
|
BLAKE2b-256 | 23abe3f03c484fa3b2bba82e95ad97aced93bf3f0aabe6699751663b54d3c590 |