3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 14:25:46 +00:00

Revert "remove unused random seed parameter on cmd_context"

This reverts commit e2a9cb80e2.
This commit is contained in:
Nikolaj Bjorner 2019-10-29 11:05:50 -07:00
parent 4faaff5b76
commit 18b8089a1e
3 changed files with 14 additions and 2 deletions

View file

@ -185,6 +185,7 @@ protected:
bool m_interactive_mode;
bool m_global_decls;
bool m_print_success;
unsigned m_random_seed;
bool m_produce_unsat_cores;
bool m_produce_unsat_assumptions;
bool m_produce_assignments;
@ -336,6 +337,8 @@ public:
void print_unsupported(symbol const & s, int line, int pos) { print_unsupported_msg(); print_unsupported_info(s, line, pos); }
bool global_decls() const { return m_global_decls; }
void set_global_decls(bool flag) { SASSERT(!has_manager()); m_global_decls = flag; }
unsigned random_seed() const { return m_random_seed; }
void set_random_seed(unsigned s) { m_random_seed = s; }
bool produce_models() const;
bool produce_proofs() const;
bool produce_unsat_cores() const;