Test::Int::GCC::IntSome< hole > Class Template Reference
[Counting constraints (global cardinality)]
Test for integer cardinality for some variables More...
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] |
Member Function Documentation
template<bool hole>
virtual bool Test::Int::GCC::IntSome< hole >::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
template<bool hole>
virtual void Test::Int::GCC::IntSome< hole >::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/gcc.cpp (Revision: 10684)