mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
add parameter to enable splitting guided by length constraints
This commit is contained in:
parent
69f92a309f
commit
1892d31794
7 changed files with 73 additions and 6 deletions
|
@ -191,9 +191,10 @@ void theory_seq::exclusion_table::display(std::ostream& out) const {
|
|||
}
|
||||
|
||||
|
||||
theory_seq::theory_seq(ast_manager& m):
|
||||
theory_seq::theory_seq(ast_manager& m, theory_seq_params const & params):
|
||||
theory(m.mk_family_id("seq")),
|
||||
m(m),
|
||||
m_params(params),
|
||||
m_rep(m, m_dm),
|
||||
m_reset_cache(false),
|
||||
m_eq_id(0),
|
||||
|
@ -273,7 +274,7 @@ final_check_status theory_seq::final_check_eh() {
|
|||
TRACE("seq", tout << ">>zero_length\n";);
|
||||
return FC_CONTINUE;
|
||||
}
|
||||
if (len_based_split()) {
|
||||
if (m_params.m_split_w_len && len_based_split()) {
|
||||
++m_stats.m_branch_variable;
|
||||
TRACE("seq", tout << ">>split_based_on_length\n";);
|
||||
return FC_CONTINUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue