Test for Nary Boolean operation More...
Public Member Functions | |
NaryShared (Gecode::BoolOpType op0, int n) | |
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. |
Test for Nary Boolean operation
Test::Int::Bool::NaryShared::NaryShared | ( | Gecode::BoolOpType | op0, |
int | n | ||
) | [inline] |
virtual bool Test::Int::Bool::NaryShared::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::Bool::NaryShared::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | x | ||
) | [inline, virtual] |
Gecode::BoolOpType Test::Int::Bool::NaryShared::op [protected] |