CBMC
|
#include <qdimacs_core.h>
Public Types | |
enum | modeltypet { M_TRUE , M_FALSE , M_DONTCARE , M_COMPLEX } |
typedef std::pair< exprt, unsigned > | symbol_mapt |
typedef std::map< unsigned, symbol_mapt > | variable_mapt |
![]() | |
typedef std::vector< quantifiert > | quantifierst |
![]() | |
typedef std::list< bvt > | clausest |
![]() | |
enum class | resultt { P_SATISFIABLE , P_UNSATISFIABLE , P_ERROR } |
Public Attributes | |
variable_mapt | variable_map |
![]() | |
quantifierst | quantifiers |
Additional Inherited Members | |
![]() | |
static void | write_dimacs_clause (const bvt &, std::ostream &, bool break_lines) |
![]() | |
static size_t | hash_clause (const bvt &bv) |
![]() | |
void | write_prefix (std::ostream &out) const |
![]() | |
void | write_problem_line (std::ostream &out) const |
void | write_clauses (std::ostream &out) const |
![]() | |
resultt | do_prop_solve (const bvt &) override |
![]() | |
void | gate_and (literalt a, literalt b, literalt o) |
Tseitin encoding of conjunction of two literals. | |
void | gate_or (literalt a, literalt b, literalt o) |
Tseitin encoding of disjunction of two literals. | |
void | gate_xor (literalt a, literalt b, literalt o) |
Tseitin encoding of XOR of two literals. | |
void | gate_nand (literalt a, literalt b, literalt o) |
Tseitin encoding of NAND of two literals. | |
void | gate_nor (literalt a, literalt b, literalt o) |
Tseitin encoding of NOR of two literals. | |
void | gate_equal (literalt a, literalt b, literalt o) |
Tseitin encoding of equality between two literals. | |
void | gate_implies (literalt a, literalt b, literalt o) |
Tseitin encoding of implication between two literals. | |
bool | process_clause (const bvt &bv, bvt &dest) const |
filter 'true' from clause, eliminate duplicates, recognise trivially satisfied clauses | |
![]() | |
static bvt | eliminate_duplicates (const bvt &) |
eliminate duplicates from given vector of literals | |
static bool | is_all (const bvt &bv, literalt l) |
![]() | |
bool | break_lines |
![]() | |
clausest | clauses |
![]() | |
size_t | _no_variables |
![]() | |
bvt | lcnf_bv |
messaget | log |
std::size_t | number_of_solver_calls = 0 |
Definition at line 19 of file qdimacs_core.h.
typedef std::pair<exprt, unsigned> qdimacs_coret::symbol_mapt |
Definition at line 33 of file qdimacs_core.h.
typedef std::map<unsigned, symbol_mapt> qdimacs_coret::variable_mapt |
Definition at line 34 of file qdimacs_core.h.
Enumerator | |
---|---|
M_TRUE | |
M_FALSE | |
M_DONTCARE | |
M_COMPLEX |
Definition at line 30 of file qdimacs_core.h.
|
inlineexplicit |
Definition at line 22 of file qdimacs_core.h.
Implemented in qbf_bdd_certificatet, qbf_squolem_coret, and qbf_qube_coret.
Implemented in qbf_bdd_coret, qbf_qube_coret, qbf_skizzo_coret, and qbf_squolem_coret.
Reimplemented from cnf_clause_listt.
Implemented in qbf_bdd_certificatet, qbf_bdd_coret, qbf_qube_coret, and qbf_squolem_coret.
|
pure virtual |
Implemented in qbf_bdd_coret, qbf_qube_coret, qbf_skizzo_coret, and qbf_squolem_coret.
Definition at line 16 of file qdimacs_core.cpp.
variable_mapt qdimacs_coret::variable_map |
Definition at line 35 of file qdimacs_core.h.