cprover
prop_wrappert Class Reference

#include <prop_wrapper.h>

Inheritance diagram for prop_wrappert:
[legend]
Collaboration diagram for prop_wrappert:
[legend]

Public Member Functions

 prop_wrappert (propt &_prop)
 
virtual ~prop_wrappert ()
 
virtual literalt constant (bool value)
 
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 (literalt a, literalt b)
 
virtual literalt lxor (const bvt &bv)
 
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 void lcnf (const bvt &bv)
 
virtual void l_set_to (literalt a, bool value)
 
virtual literalt new_variable ()
 
virtual std::size_t no_variables () const
 
virtual const std::string solver_text ()
 
virtual tvt l_get (literalt a) const
 
virtual resultt prop_solve ()
 
- Public Member Functions inherited from propt
 propt ()
 
virtual ~propt ()
 
virtual void set_equal (literalt a, literalt b)
 asserts a==b in the propositional formula More...
 
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)
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level)
 
mstreamterror ()
 
mstreamtwarning ()
 
mstreamtresult ()
 
mstreamtstatus ()
 
mstreamtstatistics ()
 
mstreamtprogress ()
 
mstreamtdebug ()
 
- Public Member Functions inherited from prop_assignmentt
virtual ~prop_assignmentt ()
 

Protected Attributes

proptp
 
- Protected Attributes inherited from propt
bvt lcnf_bv
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Additional Inherited Members

- Public Types inherited from propt
enum  resultt { resultt::P_SATISFIABLE, resultt::P_UNSATISFIABLE, resultt::P_ERROR }
 
- Public Types inherited from messaget
enum  message_levelt {
  M_ERROR =1, M_WARNING =2, M_RESULT =4, M_STATUS =6,
  M_STATISTICS =8, M_PROGRESS =9, M_DEBUG =10
}
 
- Static Public Member Functions inherited from messaget
static mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 

Detailed Description

Definition at line 15 of file prop_wrapper.h.

Constructor & Destructor Documentation

§ prop_wrappert()

prop_wrappert::prop_wrappert ( propt _prop)
inlineexplicit

Definition at line 18 of file prop_wrapper.h.

§ ~prop_wrappert()

virtual prop_wrappert::~prop_wrappert ( )
inlinevirtual

Definition at line 19 of file prop_wrapper.h.

Member Function Documentation

§ constant()

virtual literalt prop_wrappert::constant ( bool  value)
inlinevirtual

Definition at line 21 of file prop_wrapper.h.

References p.

§ l_get()

virtual tvt prop_wrappert::l_get ( literalt  a) const
inlinevirtual

Implements propt.

Definition at line 76 of file prop_wrapper.h.

References propt::l_get(), and p.

§ l_set_to()

virtual void prop_wrappert::l_set_to ( literalt  a,
bool  value 
)
inlinevirtual

Reimplemented from propt.

Definition at line 62 of file prop_wrapper.h.

References propt::l_set_to(), and p.

§ land() [1/2]

virtual literalt prop_wrappert::land ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 25 of file prop_wrapper.h.

References propt::land(), and p.

§ land() [2/2]

virtual literalt prop_wrappert::land ( const bvt bv)
inlinevirtual

Implements propt.

Definition at line 31 of file prop_wrapper.h.

References propt::land(), and p.

§ lcnf()

virtual void prop_wrappert::lcnf ( const bvt bv)
inlinevirtual

Implements propt.

Definition at line 59 of file prop_wrapper.h.

References propt::lcnf(), and p.

§ lequal()

virtual literalt prop_wrappert::lequal ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 49 of file prop_wrapper.h.

References propt::lequal(), and p.

§ limplies()

virtual literalt prop_wrappert::limplies ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 52 of file prop_wrapper.h.

References propt::limplies(), and p.

§ lnand()

virtual literalt prop_wrappert::lnand ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 43 of file prop_wrapper.h.

References propt::lnand(), and p.

§ lnor()

virtual literalt prop_wrappert::lnor ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 46 of file prop_wrapper.h.

References propt::lnor(), and p.

§ lor() [1/2]

virtual literalt prop_wrappert::lor ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 28 of file prop_wrapper.h.

References propt::lor(), and p.

§ lor() [2/2]

virtual literalt prop_wrappert::lor ( const bvt bv)
inlinevirtual

Implements propt.

Definition at line 34 of file prop_wrapper.h.

References propt::lor(), and p.

§ lselect()

virtual literalt prop_wrappert::lselect ( literalt  a,
literalt  b,
literalt  c 
)
inlinevirtual

Implements propt.

Definition at line 55 of file prop_wrapper.h.

References propt::lselect(), and p.

§ lxor() [1/2]

virtual literalt prop_wrappert::lxor ( literalt  a,
literalt  b 
)
inlinevirtual

Implements propt.

Definition at line 37 of file prop_wrapper.h.

References propt::lxor(), and p.

§ lxor() [2/2]

virtual literalt prop_wrappert::lxor ( const bvt bv)
inlinevirtual

Implements propt.

Definition at line 40 of file prop_wrapper.h.

References propt::lxor(), and p.

§ new_variable()

virtual literalt prop_wrappert::new_variable ( void  )
inlinevirtual

Implements propt.

Definition at line 66 of file prop_wrapper.h.

References propt::new_variable(), and p.

§ no_variables()

virtual std::size_t prop_wrappert::no_variables ( ) const
inlinevirtual

Implements propt.

Definition at line 69 of file prop_wrapper.h.

References propt::no_variables(), and p.

§ prop_solve()

virtual resultt prop_wrappert::prop_solve ( )
inlinevirtual

Implements propt.

Definition at line 79 of file prop_wrapper.h.

References p, and propt::prop_solve().

§ solver_text()

virtual const std::string prop_wrappert::solver_text ( )
inlinevirtual

Implements propt.

Definition at line 73 of file prop_wrapper.h.

References p, and propt::solver_text().

Member Data Documentation

§ p

propt& prop_wrappert::p
protected

The documentation for this class was generated from the following file: