21#ifndef Glucose_SimpSolver_h
22#define Glucose_SimpSolver_h
60 bool solve (
const vec<Lit>& assumps,
bool do_simp =
true,
bool turn_off_simp =
false);
62 bool solve (
bool do_simp =
true,
bool turn_off_simp =
false);
63 bool solve (
Lit p ,
bool do_simp =
true,
bool turn_off_simp =
false);
64 bool solve (
Lit p,
Lit q,
bool do_simp =
true,
bool turn_off_simp =
false);
65 bool solve (
Lit p,
Lit q,
Lit r,
bool do_simp =
true,
bool turn_off_simp =
false);
66 bool eliminate (
bool turn_off_elim =
false);
151 lbool solve_ (
bool do_simp =
true,
bool turn_off_simp =
false);
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
ABC_NAMESPACE_IMPL_START typedef signed char value
void updateElimHeap(Var v)
bool addClause(const vec< Lit > &ps)
bool substitute(Var v, Lit x)
void removeClause(CRef cr)
lbool solveLimited(const vec< Lit > &assumps, bool do_simp=true, bool turn_off_simp=false)
void setFrozen(Var v, bool b)
bool implied(const vec< Lit > &c)
Queue< CRef > subsumption_queue
bool eliminate(bool turn_off_elim=false)
bool strengthenClause(CRef cr, Lit l)
Var newVar(bool polarity=true, bool dvar=true)
bool asymm(Var v, CRef cr)
bool merge(const Clause &_ps, const Clause &_qs, Var v, vec< Lit > &out_clause)
bool addClause_(vec< Lit > &ps)
bool isEliminated(Var v) const
virtual void garbageCollect()
OccLists< Var, vec< CRef >, ClauseDeleted > occurs
bool backwardSubsumptionCheck(bool verbose=false)
void gatherTouchedClauses()
void relocAll(ClauseAllocator &to)
vec< uint32_t > elimclauses
void toDimacs(FILE *f, const vec< Lit > &assumps)
void copyTo(vec< T > ©) const
RegionAllocator< uint32_t >::Ref CRef
Lit mkLit(Var var, bool sign=false)
const ClauseAllocator & ca
bool operator()(const CRef &cr) const
ClauseDeleted(const ClauseAllocator &_ca)
uint64_t cost(Var x) const
bool operator()(Var x, Var y) const
ElimLt(const vec< int > &no)