mirror of
https://github.com/Z3Prover/z3
synced 2025-06-04 21:31:22 +00:00
(Re-)added option to disable lemma deletion in the smt_context.
This commit is contained in:
parent
ed5058d225
commit
3e960eadd2
2 changed files with 295 additions and 292 deletions
|
@ -52,7 +52,8 @@ enum restart_strategy {
|
|||
enum lemma_gc_strategy {
|
||||
LGC_FIXED,
|
||||
LGC_GEOMETRIC,
|
||||
LGC_AT_RESTART
|
||||
LGC_AT_RESTART,
|
||||
LGC_NONE
|
||||
};
|
||||
|
||||
enum initial_activity {
|
||||
|
|
|
@ -2709,7 +2709,9 @@ namespace smt {
|
|||
\brief Delete low activity lemmas
|
||||
*/
|
||||
inline void context::del_inactive_lemmas() {
|
||||
if (m_fparams.m_lemma_gc_half)
|
||||
if (m_fparams.m_lemma_gc_strategy == LGC_NONE)
|
||||
return;
|
||||
else if (m_fparams.m_lemma_gc_half)
|
||||
del_inactive_lemmas1();
|
||||
else
|
||||
del_inactive_lemmas2();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue