package grenier

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

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-v0.10.tbz
sha256=271ae9461d012c99449e5233386b13ab99ae2e474ed570e05bf0c9947e5eff1e
sha512=73c89aa6281f612c499eb734c6fc4d33b961ed82d6cc7380b03acb196233c27107e103b11f55e50f543f0f1dedb4924e6691a5c3c353ef4d8177bc661fc2bfd4

doc/grenier.valmari/Partition/index.html

Module Partition

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

Innovation. Community. Security.