Test::Int::Distinct::Except Class Reference
[Distinct constraints]
Simple test for distinct except constant constraint. More...
Public Member Functions | |
Except (const Gecode::IntArgs &d, Gecode::IntPropLevel ipl) | |
Create and register test. | |
virtual bool | solution (const Assignment &x) const |
Check whether x is solution. | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
Post constraint on bx. |
Detailed Description
Simple test for distinct except constant constraint.
Definition at line 148 of file distinct.cpp.
Constructor & Destructor Documentation
Test::Int::Distinct::Except::Except | ( | const Gecode::IntArgs & | d, | |
Gecode::IntPropLevel | ipl | |||
) | [inline] |
Create and register test.
Definition at line 151 of file distinct.cpp.
Member Function Documentation
virtual bool Test::Int::Distinct::Except::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Int::Test.
Definition at line 157 of file distinct.cpp.
virtual void Test::Int::Distinct::Except::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/distinct.cpp (Revision: 14967)