Test::Int::Sorted::NoVar Class Reference
[Sorted constraints]
Inherits Test::Int::Test.
Detailed Description
Test sorted without permutation variables.Definition at line 65 of file sorted.cc.
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. |
Constructor & Destructor Documentation
Test::Int::Sorted::NoVar::NoVar | ( | void | ) | [inline] |
Member Function Documentation
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] |
Member Data Documentation
const int Test::Int::Sorted::NoVar::n = 3 [static, protected] |
The documentation for this class was generated from the following file:
- test/int/sorted.cc (Revision: 5268)