Test::Int::Element::VarBoolInt Class Reference
[Element constraints]
Inherits Test::Int::Test.
Detailed Description
Test for element with Boolean variable array and integer variable.Definition at line 241 of file element.cc.
Public Member Functions | |
VarBoolInt (int r0) | |
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 | |
int | r |
Integer result. |
Constructor & Destructor Documentation
Test::Int::Element::VarBoolInt::VarBoolInt | ( | int | r0 | ) | [inline] |
Member Function Documentation
virtual bool Test::Int::Element::VarBoolInt::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Element::VarBoolInt::post | ( | Gecode::Space * | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
int Test::Int::Element::VarBoolInt::r [protected] |
The documentation for this class was generated from the following file:
- test/int/element.cc (Revision: 7295)