Test::Int::MiniModelBoolean::BoolExprVar Class Reference
[Minimal modelling constraints (Boolean constraints)]
Test posting Boolean expressions More...
Public Member Functions | |
BoolExprVar (const BoolInstr *bis0, const std::string &s) | |
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. |
Detailed Description
Test posting Boolean expressions
Definition at line 142 of file mm-bool.cpp.
Constructor & Destructor Documentation
Test::Int::MiniModelBoolean::BoolExprVar::BoolExprVar | ( | const BoolInstr * | bis0, | |
const std::string & | s | |||
) | [inline] |
Create and register test.
Definition at line 148 of file mm-bool.cpp.
Member Function Documentation
virtual bool Test::Int::MiniModelBoolean::BoolExprVar::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::MiniModelBoolean::BoolExprVar::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
const BoolInstr* Test::Int::MiniModelBoolean::BoolExprVar::bis [protected] |
Boolean instruction sequence.
Definition at line 145 of file mm-bool.cpp.
The documentation for this class was generated from the following file:
- test/int/mm-bool.cpp (Revision: 10907)