mirror of
https://github.com/Z3Prover/z3
synced 2025-11-25 23:19:32 +00:00
outline for adding monomials
This commit is contained in:
parent
a6ea667776
commit
6adb234673
14 changed files with 242 additions and 140 deletions
|
|
@ -23,11 +23,11 @@ Revision History:
|
|||
#include "util/hashtable.h"
|
||||
namespace lp {
|
||||
class explanation {
|
||||
typedef vector<std::pair<unsigned, mpq>> pair_vec;
|
||||
typedef vector<std::pair<constraint_index, mpq>> pair_vec;
|
||||
typedef hashtable<unsigned, u_hash, u_eq> ci_set;
|
||||
// Only one of the fields below is used. The first call adding an entry decides which one it is.
|
||||
vector<std::pair<constraint_index, mpq>> m_vector;
|
||||
ci_set m_set;
|
||||
pair_vec m_vector;
|
||||
ci_set m_set;
|
||||
public:
|
||||
explanation() = default;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue