mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 03:15:50 +00:00
fixes in random_update()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
f04dfa71a6
commit
57f622acc1
2 changed files with 33 additions and 48 deletions
|
@ -35,11 +35,7 @@ class random_updater {
|
|||
u_set m_var_set;
|
||||
lar_solver & m_lar_solver;
|
||||
unsigned m_range;
|
||||
void add_column_to_sets(unsigned j);
|
||||
std::unordered_map<numeric_pair<mpq>, unsigned> m_values; // it maps a value to the number of time it occurs
|
||||
bool shift_var(unsigned j);
|
||||
void add_value(const numeric_pair<mpq>& v);
|
||||
void remove_value(const numeric_pair<mpq> & v);
|
||||
public:
|
||||
random_updater(lar_solver & solver, const vector<unsigned> & column_list);
|
||||
void update();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue