mirror of
https://github.com/Z3Prover/z3
synced 2025-08-31 15:24:55 +00:00
avoid repeated clauses during scoring function
This commit is contained in:
parent
b149d1f803
commit
ce615ee116
2 changed files with 13 additions and 2 deletions
|
@ -19,10 +19,12 @@ Author:
|
|||
|
||||
#include "util/checked_int64.h"
|
||||
#include "util/optional.h"
|
||||
#include "util/nat_set.h"
|
||||
#include "ast/ast_trail.h"
|
||||
#include "ast/arith_decl_plugin.h"
|
||||
#include "ast/sls/sls_context.h"
|
||||
|
||||
|
||||
namespace sls {
|
||||
|
||||
template<typename num_t>
|
||||
|
@ -78,6 +80,8 @@ namespace sls {
|
|||
unsigned m_best_last_step = 0;
|
||||
unsigned m_num_lookaheads = 0;
|
||||
|
||||
nat_set m_tmp_nat_set;
|
||||
|
||||
// avoid checking the same updates twice
|
||||
var_t m_last_var = UINT_MAX;
|
||||
num_t m_last_delta;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue