mirror of
https://github.com/Z3Prover/z3
synced 2025-08-14 06:45:25 +00:00
refactor slicing dep
This commit is contained in:
parent
eb20b8971b
commit
9335b6eed6
3 changed files with 26 additions and 35 deletions
|
@ -54,8 +54,8 @@ namespace polysat {
|
|||
unsigned var_idx() const { SASSERT(is_var_idx()); return *std::get_if<unsigned>(&m_data); }
|
||||
bool operator==(dep_t other) const { return m_data == other.m_data; }
|
||||
bool operator!=(dep_t other) const { return !operator==(other); }
|
||||
unsigned to_uint() const;
|
||||
static dep_t from_uint(unsigned x);
|
||||
void* encode() const;
|
||||
static dep_t decode(void* p);
|
||||
};
|
||||
|
||||
using dep_vector = svector<dep_t>;
|
||||
|
@ -124,9 +124,6 @@ namespace polysat {
|
|||
// Add s = concat(s1, ..., sn)
|
||||
void add_concat_node(enode* s, enode* concat);
|
||||
|
||||
static void* encode_dep(dep_t d);
|
||||
static dep_t decode_dep(void* d);
|
||||
|
||||
slice_info& info(euf::enode* n);
|
||||
slice_info const& info(euf::enode* n) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue