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 144 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 147 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 153 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