Test::Int::MiniModelSet::SetExprExpr Class Reference
[Minimal modelling constraints (%Set constraints)]
Test set expressions with expression result More...
Public Member Functions | |
SetExprExpr (const SetInstr *bis00, const SetInstr *bis10, const std::string &s, Gecode::SetRelType srt0) | |
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. | |
Protected Attributes | |
const SetInstr * | bis0 |
First set instruction sequence | |
const SetInstr * | bis1 |
Second set instruction sequence | |
Gecode::SetRelType | srt |
Set relation |
Detailed Description
Test set expressions with expression result
Definition at line 205 of file mm-set.cpp.
Constructor & Destructor Documentation
Test::Int::MiniModelSet::SetExprExpr::SetExprExpr | ( | const SetInstr * | bis00, | |
const SetInstr * | bis10, | |||
const std::string & | s, | |||
Gecode::SetRelType | srt0 | |||
) | [inline] |
Create and register test.
Definition at line 215 of file mm-set.cpp.
Member Function Documentation
virtual bool Test::Int::MiniModelSet::SetExprExpr::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::MiniModelSet::SetExprExpr::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
virtual void Test::Int::MiniModelSet::SetExprExpr::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x, | |||
Gecode::Reify | r | |||
) | [inline, virtual] |
Post reified constraint on x.
Reimplemented from Test::Int::Test.
Definition at line 280 of file mm-set.cpp.
Member Data Documentation
const SetInstr* Test::Int::MiniModelSet::SetExprExpr::bis0 [protected] |
First set instruction sequence
Definition at line 208 of file mm-set.cpp.
const SetInstr* Test::Int::MiniModelSet::SetExprExpr::bis1 [protected] |
Second set instruction sequence
Definition at line 210 of file mm-set.cpp.
Set relation
Definition at line 212 of file mm-set.cpp.
The documentation for this class was generated from the following file:
- test/set/mm-set.cpp (Revision: 14967)