disjoint_set 1.0.0 copy "disjoint_set: ^1.0.0" to clipboard
disjoint_set: ^1.0.0 copied to clipboard

A highly efficient implementation of the Disjoint Set (Union-Find) data structure with union by rank and path compression optimizations.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add disjoint_set

With Flutter:

 $ flutter pub add disjoint_set

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  disjoint_set: ^1.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:disjoint_set/disjoint_set.dart';
2
likes
160
points
13
downloads

Publisher

verified publisherkator.dev

Weekly Downloads

A highly efficient implementation of the Disjoint Set (Union-Find) data structure with union by rank and path compression optimizations.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on disjoint_set