mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 09:35:32 +00:00
use static features to set hidden configuration parameters on small integers and int vs. real
Signed-off-by: Nikolaj Bjorner <nbjorner@hotmail.com>
This commit is contained in:
parent
e915d0f67d
commit
9d0e3abd24
2 changed files with 16 additions and 8 deletions
|
@ -142,6 +142,8 @@ struct static_features {
|
|||
}
|
||||
}
|
||||
|
||||
bool arith_k_sum_is_small() const { return m_arith_k_sum < rational(INT_MAX / 8); }
|
||||
|
||||
void inc_num_apps(func_decl const * d) { unsigned id = d->get_decl_id(); m_num_apps.reserve(id+1, 0); m_num_apps[id]++; }
|
||||
void inc_theory_terms(family_id fid) { m_num_theory_terms.reserve(fid+1, 0); m_num_theory_terms[fid]++; }
|
||||
void inc_theory_atoms(family_id fid) { m_num_theory_atoms.reserve(fid+1, 0); m_num_theory_atoms[fid]++; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue