Test::Int::Sorted::NoVar Class Reference
[Sorted constraints]
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. | |
Detailed Description
Test sorted without permutation variables
Definition at line 61 of file sorted.cpp.
Constructor & Destructor Documentation
| Test::Int::Sorted::NoVar::NoVar | ( | void | ) | [inline] |
Create and register test.
Definition at line 67 of file sorted.cpp.
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] |
Number of variables to be sorted.
Definition at line 64 of file sorted.cpp.
The documentation for this class was generated from the following file:
- test/int/sorted.cpp
