Test::Int::Extensional::RegOpt Class Reference
[Extensional (relation) constraints]
Test for optimizations More...
Public Member Functions | |
RegOpt (int n0) | |
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. | |
Protected Attributes | |
int | n |
DFA size characteristic. |
Detailed Description
Test for optimizations
Definition at line 339 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::RegOpt::RegOpt | ( | int | n0 | ) | [inline] |
Create and register test.
Definition at line 345 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::RegOpt::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 348 of file extensional.cpp.
virtual void Test::Int::Extensional::RegOpt::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
int Test::Int::Extensional::RegOpt::n [protected] |
DFA size characteristic.
Definition at line 342 of file extensional.cpp.
The documentation for this class was generated from the following file:
- test/int/extensional.cpp (Revision: 10684)