181 bool operator () (
Var x,
Var y)
const {
return activity[x] > activity[y]; }
280 static inline double drand(
double& seed) {
282 int q = (int)(seed / 2147483647);
283 seed -= (double)q * 2147483647;
284 return seed / 2147483647; }
287 static inline int irand(
double& seed,
int size) {
288 return (
int)(
drand(seed) * size); }
304 if ( (
activity[v] += inc) > 1e100 ) {
306 for (
int i = 0; i <
nVars(); i++)
387 }
else if (solver_value ==
l_True) {
392 return (solver_value ==
l_True);
Heap< VarOrderLt > order_heap
void claBumpActivity(Clause &c)
unsigned long long int conflicts
void removeSatisfied(vec< CRef > &cs)
static VarData mkVarData(CRef cr, int l)
OccLists< Lit, vec< Watcher >, WatcherDeleted > watches
unsigned long long int propagations
void uncheckedEnqueue(Lit p, CRef from=CRef_Undef)
VarOrderLt(const vec< double > &act)
double learntsize_adjust_inc
uint32_t abstractLevel(Var x) const
unsigned long long int conflict_literals
void analyzeFinal(Lit p, vec< Lit > &out_conflict)
int learntsize_adjust_start_confl
uint64_t learnts_literals
void removeClause(CRef cr)
void cancelUntil(int level)
const ClauseAllocator & ca
void toDimacs(std::ostream &out, const vec< Lit > &assumps)
void copyTo(vec< T > ©) const
void setPolarity(Var v, bool b)
double progressEstimate() const
bool addClause(const vec< Lit > &ps)
void setConfBudget(int64_t x)
void setDecisionVar(Var v, bool b)
void analyze(CRef confl, vec< Lit > &out_learnt, int &out_btlevel)
unsigned long long int restarts
bool operator()(const Watcher &w) const
void insertVarOrder(Var x)
void detachClause(CRef cr, bool strict=false)
bool enqueue(Lit p, CRef from=CRef_Undef)
lbool modelValue(Var x) const
lbool search(int nof_conflicts)
bool operator!=(const Watcher &w) const
bool addClause_(vec< Lit > &ps)
uint64_t clauses_literals
int decisionLevel() const
unsigned long long int decisions
lbool solveLimited(const vec< Lit > &assumps)
double learntsize_adjust_confl
static double drand(double &seed)
static int irand(double &seed, int size)
bool litRedundant(Lit p, uint32_t abstract_levels)
Var newVar(bool polarity=true, bool dvar=true)
void relocAll(ClauseAllocator &to)
RegionAllocator< uint32_t >::Ref CRef
WatcherDeleted(const ClauseAllocator &_ca)
bool operator==(const Watcher &w) const
void varBumpActivity(Var v, double inc)
vec< Lit > analyze_toclear
void attachClause(CRef cr)
virtual void garbageCollect()
int64_t propagation_budget
const vec< double > & activity
int learntsize_adjust_cnt
bool withinBudget() const
bool satisfied(const Clause &c) const
bool locked(const Clause &c) const
void setPropBudget(int64_t x)