cprover
aig_prop_constraintt Class Reference

#include <aig_prop.h>

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

Public Member Functions

 aig_prop_constraintt (aig_plus_constraintst &_dest)
 
bool has_set_to () const override
 
void lcnf (const bvt &clause) override
 
void l_set_to (literalt a, bool value) override
 
- Public Member Functions inherited from aig_prop_baset
 aig_prop_baset (aigt &_dest)
 
bool cnf_handled_well () const override
 
literalt land (literalt a, literalt b) override
 
literalt lor (literalt a, literalt b) override
 
literalt land (const bvt &bv) override
 
literalt lor (const bvt &bv) override
 
literalt lxor (literalt a, literalt b) override
 
literalt lxor (const bvt &bv) override
 
literalt lnand (literalt a, literalt b) override
 
literalt lnor (literalt a, literalt b) override
 
literalt lequal (literalt a, literalt b) override
 
literalt limplies (literalt a, literalt b) override
 
literalt lselect (literalt a, literalt b, literalt c) override
 
void set_equal (literalt a, literalt b) override
 asserts a==b in the propositional formula More...
 
literalt new_variable () override
 
size_t no_variables () const override
 
const std::string solver_text () override
 
tvt l_get (literalt a) const override
 
resultt prop_solve () override
 
- Public Member Functions inherited from propt
 propt ()
 
virtual ~propt ()
 
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 void set_assumptions (const bvt &_assumptions)
 
virtual bool has_set_assumptions () const
 
virtual void set_variable_name (literalt a, const irep_idt &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 void set_time_limit_seconds (uint32_t lim)
 
- Public Member Functions inherited from messaget
virtual void set_message_handler (message_handlert &_message_handler)
 
message_handlertget_message_handler ()
 
 messaget ()
 
 messaget (const messaget &other)
 
messagetoperator= (const messaget &other)
 
 messaget (message_handlert &_message_handler)
 
virtual ~messaget ()
 
mstreamtget_mstream (unsigned message_level) const
 
mstreamterror () const
 
mstreamtwarning () const
 
mstreamtresult () const
 
mstreamtstatus () const
 
mstreamtstatistics () const
 
mstreamtprogress () const
 
mstreamtdebug () const
 
void conditional_output (mstreamt &mstream, const std::function< void(mstreamt &)> &output_generator) const
 Generate output to mstream using output_generator if the configured verbosity is at least as high as that of mstream. More...
 

Public Attributes

aig_plus_constraintstdest
 

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 unsigned eval_verbosity (const std::string &user_input, const message_levelt default_verbosity, message_handlert &dest)
 Parse a (user-)provided string as a verbosity level and set it as the verbosity of dest. More...
 
static mstreamteom (mstreamt &m)
 
static mstreamtendl (mstreamt &m)
 
- Protected Attributes inherited from aig_prop_baset
aigtdest
 
- Protected Attributes inherited from propt
bvt lcnf_bv
 
- Protected Attributes inherited from messaget
message_handlertmessage_handler
 
mstreamt mstream
 

Detailed Description

Definition at line 67 of file aig_prop.h.

Constructor & Destructor Documentation

◆ aig_prop_constraintt()

aig_prop_constraintt::aig_prop_constraintt ( aig_plus_constraintst _dest)
inlineexplicit

Definition at line 70 of file aig_prop.h.

Member Function Documentation

◆ has_set_to()

bool aig_prop_constraintt::has_set_to ( ) const
inlineoverridevirtual

Reimplemented from aig_prop_baset.

Definition at line 77 of file aig_prop.h.

◆ l_set_to()

void aig_prop_constraintt::l_set_to ( literalt  a,
bool  value 
)
inlineoverridevirtual

Reimplemented from aig_prop_baset.

Definition at line 84 of file aig_prop.h.

References aig_plus_constraintst::constraints, and dest.

◆ lcnf()

void aig_prop_constraintt::lcnf ( const bvt clause)
inlineoverridevirtual

Reimplemented from aig_prop_baset.

Definition at line 79 of file aig_prop.h.

References propt::l_set_to_true(), and aig_prop_baset::lor().

Member Data Documentation

◆ dest

aig_plus_constraintst& aig_prop_constraintt::dest

Definition at line 76 of file aig_prop.h.

Referenced by l_set_to().


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