mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
bool_vector, some spacer tidy
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
2ed26e8e73
commit
b889b110ee
106 changed files with 239 additions and 266 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
|
||||
private:
|
||||
|
||||
typedef svector<bool> bool_vector;
|
||||
typedef bool_vector bool_vector;
|
||||
struct edge { unsigned node; unsigned weight; edge(unsigned n, unsigned w): node(n), weight(w) {} edge(): node(0), weight(0) {} };
|
||||
typedef svector<edge> edge_vector;
|
||||
|
||||
|
|
|
@ -258,10 +258,10 @@ public:
|
|||
|
||||
template<typename Ctx>
|
||||
class set_bitvector_trail : public trail<Ctx> {
|
||||
svector<bool> & m_vector;
|
||||
bool_vector & m_vector;
|
||||
unsigned m_idx;
|
||||
public:
|
||||
set_bitvector_trail(svector<bool> & v, unsigned idx):
|
||||
set_bitvector_trail(bool_vector & v, unsigned idx):
|
||||
m_vector(v),
|
||||
m_idx(idx) {
|
||||
SASSERT(m_vector[m_idx] == false);
|
||||
|
|
|
@ -31,6 +31,7 @@ using unsigned_vector = old_svector<unsigned>;
|
|||
using char_vector = old_svector<char>;
|
||||
using signed_char_vector = old_svector<signed char>;
|
||||
using double_vector = old_svector<double>;
|
||||
using bool_vector = old_svector<bool>;
|
||||
|
||||
template<typename T>
|
||||
inline std::ostream& operator<<(std::ostream& out, old_svector<T> const& v) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue