mirror of
https://github.com/Z3Prover/z3
synced 2025-08-24 03:57:51 +00:00
build issues, add equivalence finding to probing (disabled)
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
d42a5410c9
commit
0278612328
6 changed files with 75 additions and 26 deletions
|
@ -21,6 +21,7 @@ Revision History:
|
|||
#define SAT_PROBING_H_
|
||||
|
||||
#include "sat/sat_types.h"
|
||||
#include "sat/sat_big.h"
|
||||
#include "util/params.h"
|
||||
#include "util/statistics.h"
|
||||
|
||||
|
@ -43,7 +44,7 @@ namespace sat {
|
|||
unsigned long long m_probing_cache_limit; // memory limit for enabling caching.
|
||||
|
||||
// stats
|
||||
unsigned m_num_assigned;
|
||||
unsigned m_num_assigned;
|
||||
|
||||
struct cache_entry {
|
||||
bool m_available;
|
||||
|
@ -60,6 +61,11 @@ namespace sat {
|
|||
void process(bool_var v);
|
||||
void process_core(bool_var v);
|
||||
|
||||
// learn equivalences from probing.
|
||||
svector<std::pair<literal, literal>> m_equivs;
|
||||
big m_big;
|
||||
bool implies(literal a, literal b);
|
||||
|
||||
public:
|
||||
probing(solver & s, params_ref const & p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue