Library
Module
Module type
Parameter
Class
Class type
type 'a printer = Format.formatter -> 'a -> unit
module Lit : sig ... end
type assumptions = Lit.t array
val create : unit -> t
val simplify : t -> unit
val solve : ?assumptions:assumptions -> t -> unit
Solve the problem made by adding clauses using add_clause_l
or add_clause_a
.
val solve_is_sat : ?assumptions:assumptions -> t -> bool
Same as solve
but does not raise if unsat.
val n_vars : t -> int
val n_clauses : t -> int
val n_conflicts : t -> int
val n_props : t -> int
Number of SAT propagations
val n_decisions : t -> int
Number of SAT decisions
val n_proved_lvl_0 : t -> int
Number of literals true at level0 (ie proved unconditionally). Can only grow.
val string_of_value : value -> string