Test::Int::Extensional::TupleSetBase Class Reference
[Extensional (relation) constraints]
Test with tuple set More...
Public Member Functions | |
TupleSetBase (bool p) | |
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 | |
Gecode::TupleSet | t |
Simple test tupleset. | |
bool | pos |
Whether the table is positive or negative. |
Detailed Description
Test with tuple set
Definition at line 391 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::TupleSetBase::TupleSetBase | ( | bool | p | ) | [inline] |
Create and register test.
Definition at line 399 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::TupleSetBase::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 419 of file extensional.cpp.
virtual void Test::Int::Extensional::TupleSetBase::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
virtual void Test::Int::Extensional::TupleSetBase::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 434 of file extensional.cpp.
Member Data Documentation
Simple test tupleset.
Definition at line 394 of file extensional.cpp.
bool Test::Int::Extensional::TupleSetBase::pos [protected] |
Whether the table is positive or negative.
Definition at line 396 of file extensional.cpp.
The documentation for this class was generated from the following file:
- test/int/extensional.cpp