Test::Int::Extensional::TupleSetTest Class Reference
[Extensional (relation) constraints]
Test with tuple set More...
Public Member Functions | |
TupleSetTest (const std::string &s, Gecode::IntSet d0, Gecode::TupleSet ts0, bool td) | |
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 | |
Gecode::TupleSet | ts |
The tuple set to use. | |
bool | toDFA |
Whether to validate dfa2tupleset. |
Detailed Description
Test with tuple set
Definition at line 434 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::TupleSetTest::TupleSetTest | ( | const std::string & | s, | |
Gecode::IntSet | d0, | |||
Gecode::TupleSet | ts0, | |||
bool | td | |||
) | [inline] |
Create and register test.
Definition at line 442 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::TupleSetTest::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 449 of file extensional.cpp.
virtual void Test::Int::Extensional::TupleSetTest::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
The tuple set to use.
Definition at line 437 of file extensional.cpp.
bool Test::Int::Extensional::TupleSetTest::toDFA [protected] |
Whether to validate dfa2tupleset.
Definition at line 439 of file extensional.cpp.
The documentation for this class was generated from the following file:
- test/int/extensional.cpp