CBMC
|
#include <dimacs_cnf.h>
Protected Member Functions | |
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 | |
Protected Attributes | |
std::ostream & | out |
![]() | |
size_t | _no_variables |
![]() | |
bvt | lcnf_bv |
messaget | log |
std::size_t | number_of_solver_calls = 0 |
Additional Inherited Members | |
![]() | |
enum class | resultt { P_SATISFIABLE , P_UNSATISFIABLE , P_ERROR } |
![]() | |
static bvt | eliminate_duplicates (const bvt &) |
eliminate duplicates from given vector of literals | |
static bool | is_all (const bvt &bv, literalt l) |
Definition at line 45 of file dimacs_cnf.h.
dimacs_cnf_dumpt::dimacs_cnf_dumpt | ( | std::ostream & | _out, |
message_handlert & | message_handler | ||
) |
Definition at line 31 of file dimacs_cnf.cpp.
|
inlinevirtual |
Definition at line 49 of file dimacs_cnf.h.
Implements propt.
Definition at line 69 of file dimacs_cnf.h.
Implements propt.
Definition at line 58 of file dimacs_cnf.h.
Implements propt.
Definition at line 98 of file dimacs_cnf.cpp.
|
inlineoverridevirtual |
Implements cnft.
Definition at line 63 of file dimacs_cnf.h.
|
inlineoverridevirtual |
Implements propt.
Definition at line 51 of file dimacs_cnf.h.
|
protected |
Definition at line 74 of file dimacs_cnf.h.