mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
remove internal referenes to set_activity
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fc4c162e31
commit
8893913c98
11 changed files with 0 additions and 42 deletions
|
@ -336,16 +336,6 @@ public:
|
|||
return result;
|
||||
}
|
||||
|
||||
void set_activity(expr* var, double activity) override {
|
||||
m.is_not(var, var);
|
||||
sat::bool_var v = m_map.to_bool_var(var);
|
||||
if (v == sat::null_bool_var) {
|
||||
v = m_solver.add_var(true);
|
||||
m_map.insert(var, v);
|
||||
}
|
||||
m_solver.set_activity(v, static_cast<unsigned>(activity));
|
||||
}
|
||||
|
||||
proof * get_proof() override {
|
||||
UNREACHABLE();
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue