Test sorted without permutation variables More...
Public Member Functions | |
NoVar (void) | |
Create and register test. | |
virtual bool | solution (const Assignment &xy) const |
Test whether xy is solution | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &xy) |
Post constraint on xy. | |
Static Protected Attributes | |
static const int | n = 3 |
Number of variables to be sorted. |
Test sorted without permutation variables
Test::Int::Sorted::NoVar::NoVar | ( | void | ) | [inline] |
Create and register test.
Definition at line 71 of file sorted.cpp.
virtual bool Test::Int::Sorted::NoVar::solution | ( | const Assignment & | xy | ) | const [inline, virtual] |
virtual void Test::Int::Sorted::NoVar::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | xy | ||
) | [inline, virtual] |
const int Test::Int::Sorted::NoVar::n = 3 [static, protected] |
Number of variables to be sorted.
Definition at line 68 of file sorted.cpp.