mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 19:35:50 +00:00
starting the horner heuristic
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8d318e81b9
commit
f84a06b4c5
6 changed files with 118 additions and 13 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "math/lp/emonomials.h"
|
||||
#include "math/lp/nla_settings.h"
|
||||
#include "math/lp/nla_expr.h"
|
||||
#include "math/lp/horner.h"
|
||||
namespace nla {
|
||||
|
||||
template <typename A, typename B>
|
||||
|
@ -86,8 +87,11 @@ public:
|
|||
basics m_basics;
|
||||
order m_order;
|
||||
monotone m_monotone;
|
||||
horner m_horner;
|
||||
nla_settings m_settings;
|
||||
private:
|
||||
emonomials m_emons;
|
||||
svector<lpvar> m_add_buffer;
|
||||
svector<lpvar> m_add_buffer;
|
||||
public:
|
||||
emonomials& emons() { return m_emons; }
|
||||
const emonomials& emons() const { return m_emons; }
|
||||
|
@ -277,8 +281,8 @@ public:
|
|||
|
||||
template <typename T>
|
||||
bool mon_has_zero(const T& product) const;
|
||||
lp::lp_settings& settings();
|
||||
const lp::lp_settings& settings() const;
|
||||
lp::lp_settings& lp_settings();
|
||||
const lp::lp_settings& lp_settings() const;
|
||||
unsigned random();
|
||||
void map_monomial_vars_to_monomial_indices(unsigned i);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue