
Test for relation between differently sized arrays of integer variables More...
Public Member Functions | |
| IntArrayDiff (Gecode::IntRelType irt0, int m) | |
| 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 | |
| Gecode::IntRelType | irt |
| Integer relation type to propagate. | |
| int | n_fst |
| How big is the first array. | |
Static Protected Attributes | |
| static const int | n = 4 |
| How many variables in total. | |
Test for relation between differently sized arrays of integer variables
| Test::Int::Rel::IntArrayDiff::IntArrayDiff | ( | Gecode::IntRelType | irt0, |
| int | m | ||
| ) | [inline] |
| virtual bool Test::Int::Rel::IntArrayDiff::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Rel::IntArrayDiff::post | ( | Gecode::Space & | home, |
| Gecode::IntVarArray & | x | ||
| ) | [inline, virtual] |
Gecode::IntRelType Test::Int::Rel::IntArrayDiff::irt [protected] |
const int Test::Int::Rel::IntArrayDiff::n = 4 [static, protected] |
int Test::Int::Rel::IntArrayDiff::n_fst [protected] |