@@ -15,13 +15,13 @@ module Lit : sig
15
15
integers. *)
16
16
17
17
val equal : t -> t -> bool
18
- (* * @since NEXT_RELEASE *)
18
+ (* * @since 0.6 *)
19
19
20
20
val compare : t -> t -> int
21
- (* * @since NEXT_RELEASE *)
21
+ (* * @since 0.6 *)
22
22
23
23
val hash : t -> int
24
- (* * @since NEXT_RELEASE *)
24
+ (* * @since 0.6 *)
25
25
26
26
val make : int -> t
27
27
(* * [make n] creates the literal whose index is [n].
@@ -37,7 +37,7 @@ module Lit : sig
37
37
38
38
val apply_sign : bool -> t -> t
39
39
(* * [apply_sign true lit] is [lit]; [apply_sign false lit] is [neg lit]
40
- @since NEXT_RELEASE *)
40
+ @since 0.6 *)
41
41
42
42
val sign : t -> bool
43
43
(* * Sign: [true] if the literal is positive, [false] for a negated literal.
@@ -58,13 +58,13 @@ val create : unit -> t
58
58
59
59
val okay : t -> bool
60
60
(* * [true] if the solver isn't known to be in an unsat state
61
- @since NEXT_RELEASE *)
61
+ @since 0.6 *)
62
62
63
63
exception Unsat
64
64
65
65
val ensure_lit_exists : t -> Lit .t -> unit
66
66
(* * Make sure the solver decides this literal.
67
- @since NEXT_RELEASE *)
67
+ @since 0.6 *)
68
68
69
69
val add_clause_l : t -> Lit .t list -> unit
70
70
(* * Add a clause (as a list of literals) to the solver state.
@@ -114,37 +114,37 @@ val value_at_level_0 : t -> Lit.t -> value
114
114
there, or [V_undef].
115
115
If [lit] is not assigned at level 0, this returns [V_undef] even when the
116
116
literal has a value in the current model.
117
- @since NEXT_RELEASE *)
117
+ @since 0.6 *)
118
118
119
119
val unsat_core : t -> Lit .t array
120
120
(* * Returns the subset of assumptions of a solver that returned "unsat"
121
121
when called with [solve ~assumptions s].
122
- @since NEXT_RELEASE
122
+ @since 0.6
123
123
*)
124
124
125
125
val set_verbose : t -> int -> unit
126
126
(* * Verbose mode. *)
127
127
128
128
val interrupt : t -> unit
129
129
(* * Interrupt the solver, typically from another thread.
130
- @since NEXT_RELEASE *)
130
+ @since 0.6 *)
131
131
132
132
val clear_interrupt : t -> unit
133
133
(* * Clear interrupt flag so that we can use the solver again.
134
- @since NEXT_RELEASE *)
134
+ @since 0.6 *)
135
135
136
136
val n_clauses : t -> int
137
- (* * @since NEXT_RELEASE *)
137
+ (* * @since 0.6 *)
138
138
139
139
val n_vars : t -> int
140
- (* * @since NEXT_RELEASE *)
140
+ (* * @since 0.6 *)
141
141
142
142
val n_conflicts : t -> int
143
- (* * @since NEXT_RELEASE *)
143
+ (* * @since 0.6 *)
144
144
145
145
module Debug : sig
146
146
val to_dimacs_file : t -> string -> unit
147
147
(* * [to_dimacs_file solver path] writes the solver's set of clauses into the
148
148
file at [path].
149
- @since NEXT_RELEASE *)
149
+ @since 0.6 *)
150
150
end
0 commit comments