Generated on Fri Oct 19 11:26:33 2018 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::IntPropLevel ipl)
 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 144 of file gcc.cpp.


Constructor & Destructor Documentation

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

Create and register test.

Definition at line 147 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 151 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 162 of file gcc.cpp.


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