3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-07 03:31:23 +00:00

Add random order of children in spacer

This commit is contained in:
Arie Gurfinkel 2018-06-04 12:53:45 -07:00
parent 5756871738
commit 3178f7f86d
2 changed files with 17 additions and 1 deletions

View file

@ -782,6 +782,12 @@ public:
};
// order in which children are processed
enum spacer_children_order {
CO_RULE, // same order as in the rule
CO_REV_RULE, // reverse order of the rule
CO_RANDOM // random shuffle
};
class context {
@ -819,6 +825,8 @@ class context {
scoped_ptr<solver_pool> m_pool2;
random_gen m_random;
spacer_children_order m_children_order;
decl2rel m_rels; // Map from relation predicate to fp-operator.
func_decl_ref m_query_pred;
pred_transformer* m_query;