Test::Int::MiniModelLin::LinExprBool Class Reference
[Minimal modeling constraints (linear constraints)]
Test linear expressions over Boolean variables More...
Public Member Functions | |
LinExprBool (const LinInstr *lis0, const std::string &s) | |
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 | |
const LinInstr * | lis |
Linear instruction sequence. |
Detailed Description
Test linear expressions over Boolean variables
Definition at line 118 of file mm-lin.cpp.
Constructor & Destructor Documentation
Test::Int::MiniModelLin::LinExprBool::LinExprBool | ( | const LinInstr * | lis0, | |
const std::string & | s | |||
) | [inline] |
Create and register test.
Definition at line 124 of file mm-lin.cpp.
Member Function Documentation
virtual bool Test::Int::MiniModelLin::LinExprBool::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::MiniModelLin::LinExprBool::post | ( | Gecode::Space & | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
const LinInstr* Test::Int::MiniModelLin::LinExprBool::lis [protected] |
Linear instruction sequence.
Definition at line 121 of file mm-lin.cpp.
The documentation for this class was generated from the following file:
- test/int/mm-lin.cpp