Generated on Mon Jul 6 18:09:40 2009 for Gecode by doxygen 1.5.9

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

Test for variable cardinality for some cardinality values. More...

List of all members.

Public Member Functions

 VarSome (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.


Detailed Description

Test for variable cardinality for some cardinality values.

Definition at line 232 of file gcc.cpp.


Constructor & Destructor Documentation

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

Create and register test.

Definition at line 238 of file gcc.cpp.


Member Function Documentation

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

Test whether x is solution.

Implements Test::Int::Test.

Definition at line 241 of file gcc.cpp.

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

Post constraint on xy.

Implements Test::Int::Test.

Definition at line 266 of file gcc.cpp.


Member Data Documentation

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

Number of non-cardinality variables.

Definition at line 235 of file gcc.cpp.


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