Test linear expressions over float variables More...
Public Member Functions | |
LinExpr (const LinInstr *lis0, const std::string &s) | |
Create and register test. | |
virtual bool | solution (const Int::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. |
Test linear expressions over float variables
Definition at line 99 of file mm-lin.cpp.
Test::Float::MiniModelLin::LinExpr::LinExpr | ( | const LinInstr * | lis0, |
const std::string & | s | ||
) | [inline] |
Create and register test.
Definition at line 105 of file mm-lin.cpp.
virtual bool Test::Float::MiniModelLin::LinExpr::solution | ( | const Int::Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Float::MiniModelLin::LinExpr::post | ( | Gecode::Space & | home, |
Gecode::IntVarArray & | x | ||
) | [inline, virtual] |
const LinInstr* Test::Float::MiniModelLin::LinExpr::lis [protected] |
Linear instruction sequence.
Definition at line 102 of file mm-lin.cpp.