3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

going over the binary factor for basic lemmas

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-09-21 14:26:08 -07:00 committed by Lev Nachmanson
parent 318b505a2e
commit 5344dedf42
10 changed files with 170 additions and 141 deletions

View file

@ -23,7 +23,7 @@ Revision History:
namespace lp {
class column_namer {
public:
virtual std::string get_column_name(unsigned j) const = 0;
virtual std::string get_variable_name(unsigned j) const = 0;
template <typename T>
void print_row(const row_strip<T> & row, std::ostream & out) const {
vector<std::pair<T, unsigned>> coeff;
@ -55,7 +55,7 @@ public:
else if (val != numeric_traits<T>::one())
out << val;
out << get_column_name(it.second);
out << get_variable_name(it.second);
}
}
template <typename T>
@ -78,7 +78,7 @@ public:
else if (val != numeric_traits<T>::one())
out << val;
out << get_column_name(it.second);
out << get_variable_name(it.second);
}
}