61inline int var (
Lit p) {
return p.
x >> 1; }
85#define l_True (lbool((uint8_t)0))
86#define l_False (lbool((uint8_t)1))
87#define l_Undef (lbool((uint8_t)2))
88#define l_Timeout (lbool((uint8_t)9))
132#pragma warning ( push )
133#pragma warning ( disable : 4200 )
156 for (
int i = 0; i <
ps.size(); i++)
170 for (
int i = 0; i <
size(); i++)
202#pragma warning ( pop )
264 else if (
to[
cr].has_extra())
to[
cr].calcAbstraction();
272template<
class Idx,
class Vec,
class Deleted>
307template<
class Idx,
class Vec,
class Deleted>
310 for (
int i = 0; i < dirties.size(); i++)
312 if (dirty[
toInt(dirties[i])])
318template<
class Idx,
class Vec,
class Deleted>
323 for (i =
j = 0; i <
vec.
size(); i++)
324 if (!deleted(
vec[i]))
327 dirty[
toInt(idx)] = 0;
389 if (
other.size() <
size() || (extra.abst & ~
other.extra.abst) != 0)
398 const Lit* c =
static_cast<const Lit*
>(*this);
401 for (
unsigned i = 0; i <
header.size; i++) {
403 for (
unsigned j = 0;
j <
other.header.size;
j++)
void insert(CRef cr, const T &t)
const vec< typename HashTable::Pair > & bucket(int i) const
void growTo(CRef cr, const T &t)
const T & operator[](CRef cr) const
void reloc(CRef &cr, ClauseAllocator &to)
const Clause * lea(Ref r) const
static int clauseWord32Size(int size, bool has_extra)
CRef alloc(const Lits &ps, bool learnt=false)
const Clause & operator[](Ref r) const
void moveTo(ClauseAllocator &to)
Clause & operator[](Ref r)
ClauseAllocator(uint32_t start_cap)
uint32_t abstraction() const
struct Minisat::Internal::Clause::@4 header
union Minisat::Internal::Clause::@5 data[0]
Clause(const V &ps, bool use_extra, bool learnt)
Lit subsumes(const Clause &other) const
bool peek(const K &k, D &d) const
void insert(const K &k, const D &d)
const vec< Pair > & bucket(int i) const
void clean(const Idx &idx)
Vec & lookup(const Idx &idx)
void init(const Idx &idx)
OccLists(const Deleted &d)
Vec & operator[](const Idx &idx)
void smudge(const Idx &idx)
void clear(bool free=true)
void moveTo(RegionAllocator &to)
lbool operator&&(lbool b) const
lbool operator||(lbool b) const
bool operator!=(lbool b) const
bool operator==(lbool b) const
friend int toInt(lbool l)
lbool operator^(bool b) const
friend lbool toLbool(int v)
void clear(bool dealloc=false)
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
RegionAllocator< uint32_t >::Ref CRef
Lit mkLit(Var var, bool sign=false)
Lit operator^(Lit p, bool b)
static void remove(V &ts, const T &t)
uint32_t operator()(CRef cr) const
bool operator==(Lit p) const
bool operator!=(Lit p) const
bool operator<(Lit p) const
friend Lit mkLit(Var var, bool sign)