3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

euf solver updates

This commit is contained in:
Nikolaj Bjorner 2021-01-07 17:30:15 -08:00
parent 7bf691e1f9
commit 60ef60dff8
8 changed files with 46 additions and 0 deletions

View file

@ -221,6 +221,10 @@ namespace euf {
return n;
}
unsigned th_euf_solver::random() {
return ctx.s().rand()();
}
size_t th_propagation::get_obj_size(unsigned num_lits, unsigned num_eqs) {
return sat::constraint_base::obj_size(sizeof(th_propagation) + sizeof(sat::literal) * num_lits + sizeof(enode_pair) * num_eqs);
}