mirror of
https://github.com/Z3Prover/z3
synced 2025-09-02 16:20:41 +00:00
Backup before I touch early pruning ...
This commit is contained in:
parent
fb18547a5f
commit
ca1e3c3d9f
5 changed files with 19 additions and 28 deletions
|
@ -92,7 +92,6 @@ private:
|
|||
#endif
|
||||
obj_map<expr, unsigned> m_weights;
|
||||
double m_top_sum;
|
||||
unsigned m_equal_scores;
|
||||
|
||||
public:
|
||||
sls_tracker(ast_manager & m, bv_util & bvu, unsynch_mpz_manager & mm, powers & p) :
|
||||
|
@ -148,14 +147,6 @@ public:
|
|||
return sum / count;
|
||||
}
|
||||
|
||||
void reset_equal_scores() {
|
||||
m_equal_scores = 1;
|
||||
}
|
||||
|
||||
unsigned inc_equal_scores() {
|
||||
return ++m_equal_scores;
|
||||
}
|
||||
|
||||
inline void adapt_top_sum(expr * e, double add, double sub) {
|
||||
m_top_sum += m_weights.find(e) * (add - sub);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue