Module Batsat
Bindings to Batsat
module Lit : sig ... endtype assumptions= Lit.t array
val create : unit -> t
val solve : ?assumptions:assumptions -> t -> unit- raises Unsat
if the problem is unsat
val n_vars : t -> intval n_clauses : t -> intval n_conflicts : t -> intval n_props : t -> intNumber of SAT propagations
- since
- 0.4
val n_decisions : t -> intNumber of SAT decisions
- since
- 0.4
val is_in_unsat_core : t -> Lit.t -> boolis_in_unsat_core s litchecks whetherabs(lit)is part of the unsat core (if it was an assumption) precondition: last call tosolveraisedUnsat
val unsat_core : t -> Lit.t arrayAccess the whole unsat core precondition: last call to
solveraisedUnsat
val n_proved_lvl_0 : t -> intNumber of literals true at level0 (ie proved unconditionally). Can only grow.