cprover
|
#include <cvc_prop.h>
Public Member Functions | |
cvc_propt (std::ostream &_out) | |
virtual | ~cvc_propt () |
virtual void | land (literalt a, literalt b, literalt o) |
virtual void | lor (literalt a, literalt b, literalt o) |
virtual void | lxor (literalt a, literalt b, literalt o) |
virtual void | lnand (literalt a, literalt b, literalt o) |
virtual void | lnor (literalt a, literalt b, literalt o) |
virtual void | lequal (literalt a, literalt b, literalt o) |
virtual void | limplies (literalt a, literalt b, literalt o) |
virtual literalt | land (literalt a, literalt b) |
virtual literalt | lor (literalt a, literalt b) |
virtual literalt | land (const bvt &bv) |
virtual literalt | lor (const bvt &bv) |
virtual literalt | lxor (const bvt &bv) |
virtual literalt | lxor (literalt a, literalt b) |
virtual literalt | lnand (literalt a, literalt b) |
virtual literalt | lnor (literalt a, literalt b) |
virtual literalt | lequal (literalt a, literalt b) |
virtual literalt | limplies (literalt a, literalt b) |
virtual literalt | lselect (literalt a, literalt b, literalt c) |
virtual literalt | new_variable () |
virtual size_t | no_variables () const |
virtual void | set_no_variables (size_t no) |
virtual void | lcnf (const bvt &bv) |
virtual const std::string | solver_text () |
virtual tvt | l_get (literalt literal) const |
virtual propt::resultt | prop_solve () |
virtual void | clear () |
void | reset_assignment () |
![]() | |
propt () | |
virtual | ~propt () |
virtual void | set_equal (literalt a, literalt b) |
asserts a==b in the propositional formula More... | |
virtual void | l_set_to (literalt a, bool value) |
void | l_set_to_true (literalt a) |
void | l_set_to_false (literalt a) |
void | lcnf (literalt l0, literalt l1) |
void | lcnf (literalt l0, literalt l1, literalt l2) |
void | lcnf (literalt l0, literalt l1, literalt l2, literalt l3) |
virtual bool | has_set_to () const |
virtual bool | cnf_handled_well () const |
virtual void | set_assumptions (const bvt &_assumptions) |
virtual bool | has_set_assumptions () const |
virtual void | set_variable_name (literalt a, const std::string &name) |
bvt | new_variables (std::size_t width) |
generates a bitvector of given width with new variables More... | |
virtual void | set_assignment (literalt a, bool value) |
virtual void | copy_assignment_from (const propt &prop) |
virtual bool | is_in_conflict (literalt l) const |
virtual bool | has_is_in_conflict () const |
virtual void | set_frozen (literalt a) |
![]() | |
virtual | ~prop_assignmentt () |
Protected Member Functions | |
std::string | cvc_literal (literalt l) |
literalt | def_cvc_literal () |
Protected Attributes | |
unsigned | _no_variables |
std::ostream & | out |
std::vector< tvt > | assignment |
![]() | |
bvt | lcnf_bv |
Friends | |
class | cvc_convt |
class | cvc_dect |
Additional Inherited Members | |
![]() | |
enum | resultt { resultt::P_SATISFIABLE, resultt::P_UNSATISFIABLE, resultt::P_ERROR } |
Definition at line 19 of file cvc_prop.h.
|
explicit |
Definition at line 14 of file cvc_prop.cpp.
References _no_variables.
|
virtual |
Definition at line 19 of file cvc_prop.cpp.
|
inlinevirtual |
Definition at line 67 of file cvc_prop.h.
References assignment.
|
protected |
Definition at line 290 of file cvc_prop.cpp.
References const_literal(), literalt::sign(), and literalt::var_no().
Referenced by land(), lcnf(), lequal(), limplies(), lnand(), lnor(), lor(), lselect(), and lxor().
|
protected |
Definition at line 245 of file cvc_prop.cpp.
References _no_variables, out, and literalt::set().
Implements propt.
Definition at line 53 of file cvc_prop.h.
References assignment, prop_solve(), r, literalt::sign(), tvt::TV_UNKNOWN, and literalt::var_no().
Definition at line 23 of file cvc_prop.cpp.
References cvc_literal(), and out.
Referenced by lnand().
Implements propt.
Definition at line 132 of file cvc_prop.cpp.
References const_literal(), cvc_literal(), def_cvc_literal(), and out.
Implements propt.
Definition at line 79 of file cvc_prop.cpp.
References cvc_literal(), def_cvc_literal(), forall_literals, and out.
|
virtual |
Implements propt.
Definition at line 254 of file cvc_prop.cpp.
References _no_variables, cvc_literal(), and out.
Referenced by set_no_variables().
Definition at line 63 of file cvc_prop.cpp.
References cvc_literal(), and out.
Definition at line 71 of file cvc_prop.cpp.
References cvc_literal(), and out.
Definition at line 47 of file cvc_prop.cpp.
References cvc_literal(), and out.
Definition at line 55 of file cvc_prop.cpp.
References cvc_literal(), and out.
Definition at line 31 of file cvc_prop.cpp.
References cvc_literal(), and out.
Referenced by limplies(), and lnor().
Implements propt.
Definition at line 154 of file cvc_prop.cpp.
References const_literal(), cvc_literal(), def_cvc_literal(), and out.
Implements propt.
Definition at line 97 of file cvc_prop.cpp.
References cvc_literal(), def_cvc_literal(), forall_literals, and out.
Implements propt.
Definition at line 216 of file cvc_prop.cpp.
References const_literal(), cvc_literal(), def_cvc_literal(), and out.
Definition at line 39 of file cvc_prop.cpp.
References cvc_literal(), and out.
Implements propt.
Definition at line 115 of file cvc_prop.cpp.
References const_literal(), forall_literals, and lxor().
Implements propt.
Definition at line 176 of file cvc_prop.cpp.
References const_literal(), cvc_literal(), def_cvc_literal(), and out.
|
virtual |
Implements propt.
Definition at line 236 of file cvc_prop.cpp.
References _no_variables, out, and literalt::set().
|
inlinevirtual |
Implements propt.
Definition at line 45 of file cvc_prop.h.
References _no_variables.
Referenced by reset_assignment().
|
virtual |
Implements propt.
Definition at line 303 of file cvc_prop.cpp.
References out.
Referenced by l_get().
|
inline |
Definition at line 72 of file cvc_prop.h.
References assignment, no_variables(), and tvt::TV_UNKNOWN.
|
inlinevirtual |
Definition at line 46 of file cvc_prop.h.
References lcnf().
|
inlinevirtual |
Implements propt.
Definition at line 50 of file cvc_prop.h.
|
friend |
Definition at line 64 of file cvc_prop.h.
|
friend |
Definition at line 65 of file cvc_prop.h.
|
protected |
Definition at line 79 of file cvc_prop.h.
Referenced by cvc_propt(), def_cvc_literal(), lcnf(), new_variable(), and no_variables().
|
protected |
Definition at line 85 of file cvc_prop.h.
Referenced by clear(), l_get(), and reset_assignment().
|
protected |
Definition at line 80 of file cvc_prop.h.
Referenced by def_cvc_literal(), land(), lcnf(), lequal(), limplies(), lnand(), lnor(), lor(), lselect(), lxor(), new_variable(), and prop_solve().