mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
make grobner quota a parameter
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
06203d227e
commit
b577544830
4 changed files with 5 additions and 7 deletions
|
@ -1397,7 +1397,7 @@ std::ostream& core::print_term( const lp::lar_term& t, std::ostream& out) const
|
|||
|
||||
|
||||
void core::run_grobner() {
|
||||
static unsigned quota = 8;
|
||||
unsigned& quota = m_grobner_quota;
|
||||
if (quota == 0) {
|
||||
return;
|
||||
}
|
||||
|
@ -1418,10 +1418,7 @@ void core::run_grobner() {
|
|||
IF_VERBOSE(2, verbose_stream() << "grobner conflict\n");
|
||||
}
|
||||
else {
|
||||
if (quota == 1)
|
||||
quota = 0;
|
||||
else
|
||||
quota /= 2;
|
||||
quota >>= 1;
|
||||
IF_VERBOSE(2, verbose_stream() << "grobner miss, quota " << quota << "\n");
|
||||
IF_VERBOSE(4, diagnose_pdd_miss(verbose_stream()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue