Test::Int::Extensional::TupleSetTest Class Reference
[Extensional (relation) constraints]
Test with tuple set More...
Public Member Functions | |
TupleSetTest (const std::string &s, bool p, 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. | |
virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::Reify r) |
Post reified constraint on x for r. | |
Protected Attributes | |
bool | pos |
Whether the table is positive or negative. | |
Gecode::TupleSet | ts |
The tuple set to use. | |
bool | toDFA |
Whether to validate dfa2tupleset. |
Detailed Description
Test with tuple set
Definition at line 441 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::TupleSetTest::TupleSetTest | ( | const std::string & | s, | |
bool | p, | |||
Gecode::IntSet | d0, | |||
Gecode::TupleSet | ts0, | |||
bool | td | |||
) | [inline] |
Create and register test.
Definition at line 451 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 458 of file extensional.cpp.
virtual void Test::Int::Extensional::TupleSetTest::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
virtual void Test::Int::Extensional::TupleSetTest::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x, | |||
Gecode::Reify | r | |||
) | [inline, virtual] |
Post reified constraint on x for r.
Reimplemented from Test::Int::Test.
Definition at line 481 of file extensional.cpp.
Member Data Documentation
bool Test::Int::Extensional::TupleSetTest::pos [protected] |
Whether the table is positive or negative.
Definition at line 444 of file extensional.cpp.
The tuple set to use.
Definition at line 446 of file extensional.cpp.
bool Test::Int::Extensional::TupleSetTest::toDFA [protected] |
Whether to validate dfa2tupleset.
Definition at line 448 of file extensional.cpp.
The documentation for this class was generated from the following file:
- test/int/extensional.cpp