clique 1.0.2 copy "clique: ^1.0.2" to clipboard
clique: ^1.0.2 copied to clipboard

Implementation of the Bron–Kerbosch maximal cliques algorithm in Dart

dart_clique #

Implementation of the Bron–Kerbosch maximal cliques algorithm in Dart.

Features #

Find a return the maximum clique, as well as all maximal cliques.

Usage #

This library currently adds extension methods for the Map<T, Set<T>> type, which is a common representation for a graph.

import 'package:clique/clique.dart';

Map<int, Set<int>> myGraph = {
  1: {2},
  2: {1},
};

final maximumClique = myGraph.maximumClique();
// {1,2}

Additional information #

Please file a feature request if you would like support for additional graph data structure types.

0
likes
160
points
64
downloads

Publisher

unverified uploader

Weekly Downloads

Implementation of the Bron–Kerbosch maximal cliques algorithm in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on clique