CBMC
|
#include <cnf_clause_list.h>
Public Types | |
typedef std::list< bvt > | clausest |
![]() | |
enum class | resultt { P_SATISFIABLE , P_UNSATISFIABLE , P_ERROR } |
Static Public Member Functions | |
static size_t | hash_clause (const bvt &bv) |
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 | |
clausest | clauses |
![]() | |
size_t | _no_variables |
![]() | |
bvt | lcnf_bv |
messaget | log |
std::size_t | number_of_solver_calls = 0 |
Additional Inherited Members | |
![]() | |
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 23 of file cnf_clause_list.h.
typedef std::list<bvt> cnf_clause_listt::clausest |
Definition at line 47 of file cnf_clause_list.h.
|
inlineexplicit |
Definition at line 26 of file cnf_clause_list.h.
|
inlinevirtual |
Definition at line 30 of file cnf_clause_list.h.
Definition at line 51 of file cnf_clause_list.h.
Implements propt.
Reimplemented in external_satt, pbs_dimacs_cnft, satcheck_zchaff_baset, and satcheck_zcoret.
Definition at line 80 of file cnf_clause_list.h.
|
inline |
Definition at line 49 of file cnf_clause_list.h.
|
inline |
Definition at line 70 of file cnf_clause_list.h.
Definition at line 61 of file cnf_clause_list.h.
Implements propt.
Reimplemented in qdimacs_coret, qbf_bdd_certificatet, qbf_bdd_coret, qbf_quantort, qbf_qubet, qbf_qube_coret, qbf_skizzot, qbf_squolemt, qbf_squolem_coret, pbs_dimacs_cnft, satcheck_zchaff_baset, and satcheck_zcoret.
Definition at line 37 of file cnf_clause_list.h.
Implements propt.
Reimplemented in qbf_bdd_coret, qbf_squolemt, and qbf_squolem_coret.
Definition at line 16 of file cnf_clause_list.cpp.
|
inlineoverridevirtual |
Implements cnft.
Reimplemented in qbf_squolemt, and qbf_squolem_coret.
Definition at line 42 of file cnf_clause_list.h.
|
inlineoverridevirtual |
Implements propt.
Reimplemented in qbf_bdd_coret, qbf_quantort, qbf_qubet, qbf_qube_coret, qbf_skizzot, qbf_skizzo_coret, qbf_squolemt, qbf_squolem_coret, qdimacs_cnft, dimacs_cnft, external_satt, pbs_dimacs_cnft, satcheck_zchaff_baset, and satcheck_zcoret.
Definition at line 34 of file cnf_clause_list.h.
|
protected |
Definition at line 85 of file cnf_clause_list.h.