Test::Int::Bool::BinConstXX Class Reference
[Boolean constraints]
Inherits Test::Int::Test.
Detailed Description
Test for binary Boolean operation with shared variables and constant.Definition at line 196 of file bool.cc.
Public Member Functions | |
BinConstXX (Gecode::BoolOpType op0, int c0) | |
Construct and register test. | |
virtual bool | solution (const Assignment &x) const |
Check whether x is solution. | |
virtual void | post (Gecode::Space *home, Gecode::IntVarArray &x) |
Post constraint. | |
Protected Attributes | |
Gecode::BoolOpType | op |
Boolean operation type for test. | |
int | c |
Integer constant. |
Constructor & Destructor Documentation
Test::Int::Bool::BinConstXX::BinConstXX | ( | Gecode::BoolOpType | op0, | |
int | c0 | |||
) | [inline] |
Member Function Documentation
virtual bool Test::Int::Bool::BinConstXX::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Bool::BinConstXX::post | ( | Gecode::Space * | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
Gecode::BoolOpType Test::Int::Bool::BinConstXX::op [protected] |
int Test::Int::Bool::BinConstXX::c [protected] |
The documentation for this class was generated from the following file:
- test/int/bool.cc (Revision: 6288)