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

Test::Int::GCC::VarAll Class Reference
[Counting constraints (global cardinality)]

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test for variable cardinality for all cardinality values.

Definition at line 183 of file gcc.cc.


Public Member Functions

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

Static Protected Attributes

static const int n = 4
 Number of non-cardinality variables.

Constructor & Destructor Documentation

Test::Int::GCC::VarAll::VarAll ( Gecode::IntConLevel  icl  )  [inline]

Create and register test.

Definition at line 189 of file gcc.cc.


Member Function Documentation

virtual bool Test::Int::GCC::VarAll::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution.

Implements Test::Int::Test.

Definition at line 192 of file gcc.cc.

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

Post constraint on xy.

Implements Test::Int::Test.

Definition at line 212 of file gcc.cc.


Member Data Documentation

const int Test::Int::GCC::VarAll::n = 4 [static, protected]

Number of non-cardinality variables.

Definition at line 186 of file gcc.cc.


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