Generated on Thu Mar 22 10:40:01 2012 for Gecode by doxygen 1.6.3

Test::Int::GCC::IntSome< hole > Class Template Reference
[Counting constraints (global cardinality)]

Test for integer cardinality for some variables More...

List of all members.

Public Member Functions

 IntSome (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 &x)
 Post constraint on x.

Detailed Description

template<bool hole>
class Test::Int::GCC::IntSome< hole >

Test for integer cardinality for some variables

Definition at line 148 of file gcc.cpp.


Constructor & Destructor Documentation

template<bool hole>
Test::Int::GCC::IntSome< hole >::IntSome ( Gecode::IntConLevel  icl  )  [inline]

Create and register test.

Definition at line 151 of file gcc.cpp.


Member Function Documentation

template<bool hole>
virtual bool Test::Int::GCC::IntSome< hole >::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 155 of file gcc.cpp.

template<bool hole>
virtual void Test::Int::GCC::IntSome< hole >::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Int::Test.

Definition at line 166 of file gcc.cpp.


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