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/mc2.core/Mc2_core/Term/Watch2/index.html
Module Term.Watch2
Source
Source
val init :
t ->
Mc2_core__.Solver_types.term ->
on_unit:(Mc2_core__.Solver_types.term -> unit) ->
on_all_set:(unit -> unit) ->
unit
init w t ~on_all_set
initializes w
(the watchlist) for term t
, by finding an unassigned term in the watchlist and registering t
to it. If exactly one term u
is not set, then it calls on_unit u
. If all terms are set, then it watches the one with the highest level and call on_all_set ()
Source
val update :
t ->
Mc2_core__.Solver_types.term ->
watch:Mc2_core__.Solver_types.term ->
on_unit:(Mc2_core__.Solver_types.term -> unit) ->
on_all_set:(unit -> unit) ->
Mc2_core__.Solver_types.watch_res
update w t ~watch ~on_all_set
updates w
after watch
has been assigned. It looks for another term in w
for t
to watch. If exactly one term u
is not set, then it calls on_unit u
. If all terms are set, then it calls on_all_set ()
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>