Test::Int::MiniModelBoolean::BoolElement Class Reference
[Minimal modelling constraints (Boolean constraints)]
Test for Boolean element (regression) More...
Public Member Functions | |
| BoolElement (const std::string &s, int m) | |
| 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 | |
| int | mode |
| How to post. | |
Detailed Description
Test for Boolean element (regression)
Contributed by Matthias Balzer <matthias.balzer@itwm.fraunhofer.de>
Definition at line 4324 of file mm-bool.cpp.
Constructor & Destructor Documentation
| Test::Int::MiniModelBoolean::BoolElement::BoolElement | ( | const std::string & | s, | |
| int | m | |||
| ) | [inline] |
Create and register test.
Definition at line 4330 of file mm-bool.cpp.
Member Function Documentation
| virtual bool Test::Int::MiniModelBoolean::BoolElement::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::MiniModelBoolean::BoolElement::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | x | |||
| ) | [inline, virtual] |
Member Data Documentation
int Test::Int::MiniModelBoolean::BoolElement::mode [protected] |
How to post.
Definition at line 4327 of file mm-bool.cpp.
The documentation for this class was generated from the following file:
- test/int/mm-bool.cpp
