Test::Int::MiniModelBoolean::BoolExprInt Class Reference
[Minimal modelling constraints (Boolean constraints)]
Test Boolean expressions with integer result More...
Public Member Functions | |
| BoolExprInt (const BoolInstr *bis0, const std::string &s, int c0) | |
| Create and register test. | |
| virtual bool | solution (const Assignment &x) const |
| Test whether x is solution | |
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
| Post constraint on x. | |
Protected Attributes | |
| const BoolInstr * | bis |
| Boolean instruction sequence. | |
| int | c |
| Result of expression. | |
Detailed Description
Test Boolean expressions with integer result
Definition at line 110 of file mm-bool.cpp.
Constructor & Destructor Documentation
| Test::Int::MiniModelBoolean::BoolExprInt::BoolExprInt | ( | const BoolInstr * | bis0, | |
| const std::string & | s, | |||
| int | c0 | |||
| ) | [inline] |
Create and register test.
Definition at line 118 of file mm-bool.cpp.
Member Function Documentation
| virtual bool Test::Int::MiniModelBoolean::BoolExprInt::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::MiniModelBoolean::BoolExprInt::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | x | |||
| ) | [inline, virtual] |
Member Data Documentation
const BoolInstr* Test::Int::MiniModelBoolean::BoolExprInt::bis [protected] |
Boolean instruction sequence.
Definition at line 113 of file mm-bool.cpp.
int Test::Int::MiniModelBoolean::BoolExprInt::c [protected] |
Result of expression.
Definition at line 115 of file mm-bool.cpp.
The documentation for this class was generated from the following file:
- test/int/mm-bool.cpp
