Test::Int::Extensional::RegDistinct Class Reference
[Extensional (relation) constraints]
Test with regular expression for distinct constraint More...
Public Member Functions | |
RegDistinct (void) | |
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
Test with regular expression for distinct constraint
Definition at line 136 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::RegDistinct::RegDistinct | ( | void | ) | [inline] |
Create and register test.
Definition at line 139 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::RegDistinct::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 141 of file extensional.cpp.
virtual void Test::Int::Extensional::RegDistinct::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/extensional.cpp (Revision: 10684)