package mc2
A mcsat-based SMT solver in pure OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
v0.1.tar.gz
md5=92de696251ec76fbf3eba6ee917fd80f
sha512=e88ba0cfc23186570a52172a0bd7c56053273941eaf3cda0b80fb6752e05d1b75986b01a4e4d46d9711124318e57cba1cd92d302e81d34f9f1ae8b49f39114f0
doc/src/mc2.core/Heap_intf.ml.html
Source file Heap_intf.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
module type RANKED = sig type t val idx: t -> int (** Index in heap. return -1 if never set *) val set_idx : t -> int -> unit (** Update index in heap *) val cmp : t -> t -> bool end module type S = sig type elt (** Type of elements *) type t (** Heap of {!elt}, whose priority is increased or decreased incrementally (see {!decrease} for instance) *) val create : unit -> t (** Create a heap *) val decrease : t -> elt -> unit (** [decrease h x] decreases the value associated to [x] within [h] *) val in_heap : elt -> bool (*val increase : (int -> int -> bool) -> t -> int -> unit*) val size : t -> int (** Number of integers within the heap *) val is_empty : t -> bool val clear : t -> unit (** Clear the content of the heap *) val insert : t -> elt -> unit (** Insert a new element into the heap *) (*val update : (int -> int -> bool) -> t -> int -> unit*) val remove_min : t -> elt (** Remove and return the integer that has the lowest value from the heap @raise Not_found if the heap is empty *) val filter : t -> (elt -> bool) -> unit (** Filter out values that don't satisfy the predicate *) val to_iter : t -> elt Iter.t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>