incremental_cyclesversion Documentation on ocaml.org

A state-of-the-art formally verified incremental cycle detection algorithm

A formally verified algorithm for checking the acyclicity of a graph while incrementally adding new edges and vertices to the graph.

This particular algorithm is optimized for the case of sparse graphs.

The (amortized) complexity of m arc insertions and n vertex insertions is O(m min(m^(1/2), n^(2/3)) + n), i.e.:

  • O(m sqrt(m) + n) for sparse graphs;
  • O(m n^(2/3) + n) for dense graphs.

(See the companion paper for more details.)

AuthorsArmaël Guéneau <>, Jacques-Henri Jourdan <>, Arthur Charguéraud <> and François Pottier <>
LicenseLGPL-2.1-only
Published
Homepagehttps://gitlab.inria.fr/agueneau/incremental-cycles
Issue Trackerarmael.gueneau@inria.fr
Maintainerarmael.gueneau@inria.fr
Dependencies
Source [http] https://gitlab.inria.fr/agueneau/incremental-cycles/-/archive/0.1/incremental-cycles-0.1.tar.gz
sha256=3d26be7af7fd470d246872ed8ead2dd1ef0534ea95286a54aea4857ba6fb1c3e
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/incremental_cycles/incremental_cycles.0.1/opam
No package is dependent