Test::Int::MiniModelLin::LinExprInt Class Reference
[Minimal modelling constraints (linear constraints)]
Inherits Test::Int::Test.
Detailed Description
Test linear expressions over integer variables.Definition at line 98 of file mm-lin.cc.
Public Member Functions | |
LinExprInt (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. |
Constructor & Destructor Documentation
Test::Int::MiniModelLin::LinExprInt::LinExprInt | ( | const LinInstr * | lis0, | |
const std::string & | s | |||
) | [inline] |
Member Function Documentation
virtual bool Test::Int::MiniModelLin::LinExprInt::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Int::MiniModelLin::LinExprInt::post | ( | Gecode::Space * | home, | |
Gecode::IntVarArray & | x | |||
) | [inline, virtual] |
Member Data Documentation
const LinInstr* Test::Int::MiniModelLin::LinExprInt::lis [protected] |
The documentation for this class was generated from the following file:
- test/int/mm-lin.cc (Revision: 6355)