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