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

demonstration of theory-aware branching in theory_str, WIP

This commit is contained in:
Murphy Berzish 2017-01-10 19:50:46 -05:00
parent 3459c1993e
commit 1363f50e4f
4 changed files with 29 additions and 23 deletions

View file

@ -825,6 +825,13 @@ namespace smt {
*/
void mk_th_case_split(unsigned num_lits, literal * lits);
/*
* Provide a hint to the branching heuristic about the priority of a "theory-aware literal".
* Literals marked in this way will always be branched on before unmarked literals,
* starting with the literal having the highest priority.
*/
void add_theory_aware_branching_info(bool_var v, double priority, lbool phase);
// helper function for trail
void undo_th_case_split(literal l);