module Enumsolver_types: sig .. end
type ident = {
}
type var = {
|
vid : int; |
|
ident : ident; |
|
pa : atom; |
|
na : atom; |
|
mutable weight : float; |
|
mutable seen : bool; |
|
mutable level : int; |
|
mutable reason : reason; |
|
mutable vpremise : premise; |
}
type atom = {
|
aid : int; |
|
var : var; |
|
value : int; |
|
neg : atom; |
|
mutable is_true : bool; |
|
mutable watched : clause Vec.t; |
}
type clause = {
|
name : string; |
|
mutable atoms : atom Vec.t; |
|
mutable activity : float; |
|
mutable removed : bool; |
|
learnt : bool; |
|
cpremise : premise; |
}
type reason = clause option
type premise = clause list
val cpt_mk_var : int Pervasives.ref
val dummy_var : var
val dummy_atom : atom
val dummy_clause : clause
val add_atom : (atom * clause * int) list Pervasives.ref ->
Hstring.t * int * int -> atom
val make_clause : string ->
atom list ->
int -> bool -> premise -> clause
val fresh_name : unit -> string
val fresh_lname : unit -> string
val fresh_dname : unit -> string
val to_float : int -> float
val to_int : float -> int
val made_vars_info : unit -> int * atom list
val clear : unit -> unit
val same_ident : atom -> atom -> bool
val is_bottom : atom -> bool
val enqueue_ident : atom ->
(atom * clause * int) list
val pop_ident : atom -> unit
val check_bottom_clause : atom -> clause option
module Debug: sig .. end
val is_attached : clause -> bool