mirror of
https://github.com/Z3Prover/z3
synced 2025-10-19 22:00:31 +00:00
define symbolic_interval
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
1df11c7e4c
commit
34925acbf3
2 changed files with 59 additions and 77 deletions
|
@ -4,9 +4,32 @@
|
|||
namespace nlsat {
|
||||
|
||||
class assignment; // forward declared in nlsat_types.h
|
||||
struct symbolic_interval {};
|
||||
|
||||
class levelwise {
|
||||
public:
|
||||
struct indexed_root_expr {
|
||||
poly* p;
|
||||
short i;
|
||||
};
|
||||
struct symbolic_interval {
|
||||
bool section = true;
|
||||
poly* l = nullptr;
|
||||
short l_index; // the root index
|
||||
poly* u = nullptr;
|
||||
short u_index; // the root index
|
||||
bool l_inf() const { return l == nullptr; }
|
||||
bool u_inf() const { return u == nullptr; }
|
||||
bool is_section() { return section; }
|
||||
bool is_sector() { return !section; }
|
||||
poly* section_poly() {
|
||||
SASSERT(is_section());
|
||||
return l;
|
||||
}
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
|
||||
struct impl;
|
||||
impl* m_impl;
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue