mirror of
https://github.com/Z3Prover/z3
synced 2025-08-01 17:03:18 +00:00
add parameter to disable pattern inference #6884
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
99239068ba
commit
4d9af7848d
4 changed files with 13 additions and 10 deletions
|
@ -27,7 +27,8 @@ enum arith_pattern_inference_kind {
|
|||
};
|
||||
|
||||
struct pattern_inference_params {
|
||||
unsigned m_pi_max_multi_patterns;
|
||||
bool m_pi_enabled = true;
|
||||
unsigned m_pi_max_multi_patterns = 1;
|
||||
bool m_pi_block_loop_patterns;
|
||||
bool m_pi_decompose_patterns;
|
||||
arith_pattern_inference_kind m_pi_arith;
|
||||
|
@ -35,13 +36,11 @@ struct pattern_inference_params {
|
|||
unsigned m_pi_arith_weight;
|
||||
unsigned m_pi_non_nested_arith_weight;
|
||||
bool m_pi_pull_quantifiers;
|
||||
int m_pi_nopat_weight;
|
||||
bool m_pi_avoid_skolems;
|
||||
int m_pi_nopat_weight = -1;
|
||||
bool m_pi_avoid_skolems = true;
|
||||
bool m_pi_warnings;
|
||||
|
||||
pattern_inference_params(params_ref const & p = params_ref()):
|
||||
m_pi_nopat_weight(-1),
|
||||
m_pi_avoid_skolems(true) {
|
||||
pattern_inference_params(params_ref const & p = params_ref()) {
|
||||
updt_params(p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue