package grenier

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

Install

Dune Dependency

Authors

Maintainers

Sources

grenier-v0.12.tbz
sha256=b08e4c774ef72fc53c4fcee477e739d1beac9702079300daddf51ced9fa9cd26
sha512=984d92c51dac7b3f169cad595969a4fdbeb2be7b420ed1a85618d6adbb64af855cf2618d9bd0834e84d6734b99196944cab04435e1aeacad8cdfbc9a7f73d6d4

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.