|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
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);
void insertVarOrder(Var x)
int64_t propagation_budget
void uncheckedEnqueue(Lit p, CRef from=CRef_Undef)
void detachClause(CRef cr, bool strict=false)
void attachClause(CRef cr)
void claBumpActivity(Clause &c)
lbool solveLimited(const vec< Lit > &assumps)
bool enqueue(Lit p, CRef from=CRef_Undef)
bool addClause(const vec< Lit > &ps)
double learntsize_adjust_confl
uint32_t abstractLevel(Var x) const
int decisionLevel() const
bool operator==(const Watcher &w) const
bool withinBudget() const
Var newVar(bool polarity=true, bool dvar=true)
virtual void garbageCollect()
void copyTo(vec< T > ©) const
unsigned long long int propagations
const vec< double > & activity
void varBumpActivity(Var v, double inc)
bool locked(const Clause &c) const
WatcherDeleted(const ClauseAllocator &_ca)
void setPropBudget(int64_t x)
int learntsize_adjust_cnt
vec< Lit > analyze_toclear
const ClauseAllocator & ca
uint64_t clauses_literals
unsigned long long int conflicts
bool addClause_(vec< Lit > &ps)
void analyzeFinal(Lit p, vec< Lit > &out_conflict)
bool satisfied(const Clause &c) const
Heap< VarOrderLt > order_heap
void relocAll(ClauseAllocator &to)
bool operator()(const Watcher &w) const
OccLists< Lit, vec< Watcher >, WatcherDeleted > watches
uint64_t learnts_literals
VarOrderLt(const vec< double > &act)
void setConfBudget(int64_t x)
void analyze(CRef confl, vec< Lit > &out_learnt, int &out_btlevel)
double progressEstimate() const
bool operator()(Var x, Var y) const
unsigned long long int conflict_literals
void setPolarity(Var v, bool b)
int learntsize_adjust_start_confl
void setDecisionVar(Var v, bool b)
unsigned long long int restarts
void removeSatisfied(vec< CRef > &cs)
double learntsize_adjust_inc
lbool modelValue(Var x) const
unsigned long long int decisions
void toDimacs(std::ostream &out, const vec< Lit > &assumps)
lbool search(int nof_conflicts)
static VarData mkVarData(CRef cr, int l)
bool litRedundant(Lit p, uint32_t abstract_levels)
void cancelUntil(int level)
static double drand(double &seed)
bool operator!=(const Watcher &w) const
RegionAllocator< uint32_t >::Ref CRef
static int irand(double &seed, int size)
void removeClause(CRef cr)