package grenier

  1. Overview
  2. Docs
A collection of various algorithms in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-v0.11.tbz
sha256=658e1ad6fc5fdce0871975b3ebcb3ec760248be63cdb9ea965e3121cc7478d77
sha512=d9ff83f1b025f34c22af5921444993df219761dcee8d8cb5a940f266df8677278967434b22314c5c82d5d983e4c94c04cd52c4717d5c1f22fbd3a022631fae1c

doc/grenier.valmari/Partition/index.html

Module PartitionSource

Sourcetype set = int
Sourcetype 'a t
Sourceval create : ?partition:('a Strong.Finite.elt -> 'a Strong.Finite.elt -> int) -> 'a Strong.Finite.set -> 'a t
Sourceval mark : 'a t -> 'a Strong.Finite.elt -> unit
Sourceval split : 'a t -> unit
Sourceval discard_unmarked : 'a t -> unit
Sourceval discard : 'a t -> ('a Strong.Finite.elt -> bool) -> unit
Sourceval set_count : 'a t -> int
Sourceval set_of : 'a t -> 'a Strong.Finite.elt -> set
Sourceval choose : 'a t -> set -> 'a Strong.Finite.elt
Sourceval iter_elements : 'a t -> set -> ('a Strong.Finite.elt -> unit) -> unit
Sourceval iter_marked_elements : 'a t -> set -> ('a Strong.Finite.elt -> unit) -> unit
Sourceval clear_marks : 'a t -> unit
Sourceval marked_sets : 'a t -> set list
OCaml

Innovation. Community. Security.