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

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

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test sorted with permutation variables.

Definition at line 103 of file sorted.cc.


Public Member Functions

 PermVar (void)
 Create and register test.
virtual bool solution (const Assignment &xyz) const
 Test whether xyz is solution.
virtual void post (Gecode::Space *home, Gecode::IntVarArray &xyz)
 Post constraint on xyz.

Static Protected Attributes

static const int n = 3
 Number of variables to be sorted.

Constructor & Destructor Documentation

Test::Int::Sorted::PermVar::PermVar ( void   )  [inline]

Create and register test.

Definition at line 109 of file sorted.cc.


Member Function Documentation

virtual bool Test::Int::Sorted::PermVar::solution ( const Assignment xyz  )  const [inline, virtual]

Test whether xyz is solution.

Implements Test::Int::Test.

Definition at line 111 of file sorted.cc.

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

Post constraint on xyz.

Implements Test::Int::Test.

Definition at line 147 of file sorted.cc.


Member Data Documentation

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

Number of variables to be sorted.

Definition at line 106 of file sorted.cc.


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