3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

theory case split heuristic

This commit is contained in:
Murphy Berzish 2016-12-20 16:21:07 -05:00
parent a04bc9974b
commit ab0fcc42f9
2 changed files with 91 additions and 10 deletions

View file

@ -219,8 +219,9 @@ namespace smt {
// -----------------------------------
typedef int_hashtable<int_hash, default_eq<int> > int_set;
int_set m_all_th_case_split_literals;
vector<int_set> m_th_case_split_sets;
u_map< vector<int_set> > m_literal2casesplitsets; // returns the case split literal sets that a literal participates in
vector<literal_vector> m_th_case_split_sets;
u_map< vector<literal_vector> > m_literal2casesplitsets; // returns the case split literal sets that a literal participates in
unsigned m_th_case_split_qhead;
// -----------------------------------
//
@ -824,6 +825,9 @@ namespace smt {
*/
void mk_th_case_split(unsigned num_lits, literal * lits);
// helper function for trail
void undo_th_case_split(literal l);
bool propagate_th_case_split();
bool_var mk_bool_var(expr * n);