Generated on Mon Aug 25 11:35:55 2008 for Gecode by doxygen 1.5.6

Test::Int::Sorted::NoVar Class Reference
[Sorted constraints]

Inherits Test::Int::Test.

List of all members.


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]

Create and register test.

Definition at line 71 of file sorted.cc.


Member Function Documentation

virtual bool Test::Int::Sorted::NoVar::solution ( const Assignment xy  )  const [inline, virtual]

Test whether xy is solution.

Implements Test::Int::Test.

Definition at line 73 of file sorted.cc.

virtual void Test::Int::Sorted::NoVar::post ( Gecode::Space home,
Gecode::IntVarArray xy 
) [inline, virtual]

Post constraint on xy.

Implements Test::Int::Test.

Definition at line 92 of file sorted.cc.


Member Data Documentation

const int Test::Int::Sorted::NoVar::n = 3 [static, protected]

Number of variables to be sorted.

Definition at line 68 of file sorted.cc.


The documentation for this class was generated from the following file: