| souffle
    2.0.2-371-g6315b36
    | 
Boolean constraint class. More...
#include <BooleanConstraint.h>


| Public Member Functions | |
| BooleanConstraint (bool truthValue, SrcLocation loc={}) | |
| BooleanConstraint * | clone () const override | 
| bool | isTrue () const | 
| Check whether constraint holds.  More... | |
| void | set (bool value) | 
| Set truth value.  More... | |
|  Public Member Functions inherited from souffle::ast::analysis::Constraint< Var > | |
| virtual bool | update (Assignment< Var > &ass) const =0 | 
| Requests the given assignment to be updated according to this constraint.  More... | |
| virtual | ~Constraint ()=default | 
| A virtual destructor.  More... | |
| Protected Member Functions | |
| bool | equal (const Node &node) const override | 
| void | print (std::ostream &os) const override | 
| Adds print support for constraints (debugging)  More... | |
| Protected Attributes | |
| bool | truthValue | 
| Truth value of Boolean constraint.  More... | |
Boolean constraint class.
Example: true
Boolean constraint representing either the 'true' or the 'false' value
Definition at line 45 of file BooleanConstraint.h.
| 
 | inline | 
Definition at line 47 of file BooleanConstraint.h.
| 
 | inlineoverride | 
Definition at line 60 of file BooleanConstraint.h.
| 
 | inlineoverrideprotected | 
Definition at line 69 of file BooleanConstraint.h.
| 
 | inline | 
| 
 | inlineoverrideprotectedvirtual | 
Adds print support for constraints (debugging)
Implements souffle::ast::analysis::Constraint< Var >.
Definition at line 65 of file BooleanConstraint.h.
| 
 | inline | 
| 
 | protected | 
Truth value of Boolean constraint.
Definition at line 76 of file BooleanConstraint.h.
 1.8.17
 1.8.17