Test::Int::Extensional::TupleSetLarge Class Reference
[Extensional (relation) constraints]
Test with large tuple set More...
Public Member Functions | |
TupleSetLarge (double prob, 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 | |
bool | pos |
Whether the table is positive or negative. | |
Gecode::TupleSet | t |
Tupleset used for testing. |
Detailed Description
Test with large tuple set
Definition at line 504 of file extensional.cpp.
Constructor & Destructor Documentation
Test::Int::Extensional::TupleSetLarge::TupleSetLarge | ( | double | prob, | |
bool | p | |||
) | [inline] |
Create and register test.
Definition at line 512 of file extensional.cpp.
Member Function Documentation
virtual bool Test::Int::Extensional::TupleSetLarge::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Int::Test.
Definition at line 529 of file extensional.cpp.
virtual void Test::Int::Extensional::TupleSetLarge::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
virtual void Test::Int::Extensional::TupleSetLarge::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 547 of file extensional.cpp.
Member Data Documentation
bool Test::Int::Extensional::TupleSetLarge::pos [protected] |
Whether the table is positive or negative.
Definition at line 507 of file extensional.cpp.
Gecode::TupleSet Test::Int::Extensional::TupleSetLarge::t [mutable, protected] |
Tupleset used for testing.
Definition at line 509 of file extensional.cpp.
The documentation for this class was generated from the following file:
- test/int/extensional.cpp