Gecode::MiniModel::BoolExpr Class Reference
#include <minimodel.hh>
Detailed Description
Boolean expressions.Definition at line 451 of file minimodel.hh.
Public Types | |
enum | NodeType { NT_VAR, NT_NOT, NT_AND, NT_OR, NT_IMP, NT_XOR, NT_EQV, NT_RLIN_INT, NT_RLIN_BOOL } |
Type of Boolean expression. More... | |
Public Member Functions | |
BoolExpr (const BoolExpr &e) | |
Copy constructor. | |
BoolExpr (const BoolExpr &l, NodeType t, const BoolExpr &r) | |
Construct expression for type and subexpresssions. | |
BoolExpr (const BoolVar &x) | |
Construct expression for variable. | |
BoolExpr (const BoolExpr &e, NodeType t) | |
Construct expression for negation. | |
BoolExpr (const LinRel< IntVar > &rl) | |
Construct expression for reified linear relation. | |
BoolExpr (const LinRel< BoolVar > &rl) | |
Construct expression for reified linear relation. | |
BoolVar | post (Space *home, IntConLevel icl, PropKind pk) const |
Post propagators for expression. | |
void | post (Space *home, bool t, IntConLevel icl, PropKind pk) const |
Post propagators for relation. | |
const BoolExpr & | operator= (const BoolExpr &e) |
Assignment operator. | |
~BoolExpr (void) | |
Destructor. | |
Classes | |
class | Node |
Node for Boolean expression. More... |
Member Enumeration Documentation
Type of Boolean expression.
- Enumerator:
Definition at line 454 of file minimodel.hh.
Constructor & Destructor Documentation
Gecode::MiniModel::BoolExpr::BoolExpr | ( | const BoolExpr & | e | ) | [inline] |
Gecode::MiniModel::BoolExpr::BoolExpr | ( | const BoolVar & | x | ) |
Gecode::MiniModel::BoolExpr::~BoolExpr | ( | void | ) |
Member Function Documentation
BoolVar Gecode::MiniModel::BoolExpr::post | ( | Space * | home, | |
IntConLevel | icl, | |||
PropKind | pk | |||
) | const [inline] |
void Gecode::MiniModel::BoolExpr::post | ( | Space * | home, | |
bool | t, | |||
IntConLevel | icl, | |||
PropKind | pk | |||
) | const [inline] |
The documentation for this class was generated from the following files:
- gecode/minimodel.hh (Revision: 7354)
- gecode/minimodel/bool-expr.cc (Revision: 6312)
- gecode/minimodel/bool-expr.icc (Revision: 6311)