Skip to main content

`unionfind` is a package for unionfind.

Project description

unionfind is a package for 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.

Requirements

  • Python 2 or Python 3

Features

  • nothing

Setup

$ pip install unionfind
or
$ easy_install unionfind

History

0.0.1 (2015-4-3)

  • first release

Project details


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.9.zip (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page