Test::Int::Extensional::RegRoland Class Reference
[Extensional (relation) constraints]
Test with simple regular expression from Roland Yap More...
Public Member Functions | |
RegRoland (int n) | |
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 simple regular expression from Roland Yap
Definition at line 183 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::RegRoland::RegRoland | ( | int | n | ) | [inline] |
Create and register test.
Definition at line 186 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::RegRoland::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 189 of file extensional.cpp.
virtual void Test::Int::Extensional::RegRoland::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)