mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-07 19:55:41 -05:00
cleanup
This commit is contained in:
parent
521340a23f
commit
85c00ecfa2
1 changed files with 0 additions and 21 deletions
|
|
@ -1658,25 +1658,6 @@ module Make(Plugin : PLUGIN)
|
|||
(Format.pp_print_list (Atom.debug store)) !core);
|
||||
!core
|
||||
|
||||
(*
|
||||
module Clause_gc = struct
|
||||
type state = {
|
||||
solver: solver;
|
||||
dirty_atoms: Atom.V
|
||||
|
||||
}
|
||||
|
||||
end
|
||||
*)
|
||||
|
||||
(* FIXME: also handle clause pools.
|
||||
|
||||
- pools should probably have a "needs_gc" flag instead of doing GC
|
||||
themselves
|
||||
- each pool GC's itself by moving clauses into self.clauses_dead
|
||||
- then all dead clauses are detached (+ dirty atoms marked),
|
||||
we clean dirty atoms' watchlists, and finally remove clause.
|
||||
*)
|
||||
(* GC: remove some learnt clauses.
|
||||
This works even during the proof with a non empty trail. *)
|
||||
let reduce_clause_db (self:t) : unit =
|
||||
|
|
@ -1871,8 +1852,6 @@ module Make(Plugin : PLUGIN)
|
|||
reduce_clause_db st;
|
||||
);
|
||||
|
||||
(* TODO: do a GC for all clause pools that need it *)
|
||||
|
||||
pick_branch_lit st
|
||||
done
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue