A generic base class for constraints on variables.
More...
#include <ConstraintSystem.h>
|
virtual void | print (std::ostream &out) const =0 |
| Adds print support for constraints (debugging) More...
|
|
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...
|
|
template<typename Var>
class souffle::ast::analysis::Constraint< Var >
A generic base class for constraints on variables.
- Template Parameters
-
Var | the type of variables constraint. |
Definition at line 44 of file ConstraintSystem.h.
◆ ~Constraint()
◆ print()
◆ update()
Requests the given assignment to be updated according to this constraint.
- Parameters
-
ass | the assignment to be updated |
- Returns
- true if the assignment was altered, false otherwise
◆ operator<<
template<typename Var >
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const Constraint< Var > & |
c |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: