Test::Int::MiniModelBoolean::BoolExprInt Class Reference
[Minimal modelling constraints (Boolean constraints)]
Inherits Test::Int::Test.
Detailed Description
Test Boolean expressions with integer result.Definition at line 110 of file mm-bool.cc.
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. | |
Constructor & Destructor Documentation
| Test::Int::MiniModelBoolean::BoolExprInt::BoolExprInt | ( | const BoolInstr * | bis0, | |
| const std::string & | s, | |||
| int | c0 | |||
| ) | [inline] |
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] |
int Test::Int::MiniModelBoolean::BoolExprInt::c [protected] |
The documentation for this class was generated from the following file:
- test/int/mm-bool.cc (Revision: 6355)
