3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-01 12:58:54 +00:00

lp: rename cut_period_random to random_period

The toggle also gates the cube heuristics (find_cube, lcube), not just
cuts, so 'cut' in the name was misleading. random_period covers all the
periodic integer heuristic gates (find_cube, lcube, hnf, gomory, dio).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Lev Nachmanson 2026-06-19 07:43:36 -07:00
parent 74899eeb93
commit 17de82a963
4 changed files with 11 additions and 11 deletions

View file

@ -264,7 +264,7 @@ private:
bool m_dio_ignore_big_nums = false;
unsigned m_dio_calls_period = 4;
bool m_dio_run_gcd = true;
bool m_cut_period_random = true;
bool m_random_period = true;
bool m_lcube = true;
unsigned m_lcube_flips = 16;
public:
@ -272,8 +272,8 @@ public:
unsigned lcube_flips() const { return m_lcube_flips; }
unsigned dio_calls_period() const { return m_dio_calls_period; }
unsigned & dio_calls_period() { return m_dio_calls_period; }
bool cut_period_random() const { return m_cut_period_random; }
bool & cut_period_random() { return m_cut_period_random; }
bool random_period() const { return m_random_period; }
bool & random_period() { return m_random_period; }
bool print_external_var_name() const { return m_print_external_var_name; }
bool propagate_eqs() const { return m_propagate_eqs;}
unsigned hnf_cut_period() const { return m_hnf_cut_period; }