Generated on Tue May 22 09:42:00 2018 for Gecode by doxygen 1.6.3

Test::Int::MiniModelLin::LinExprMixed Class Reference
[Minimal modeling constraints (linear constraints)]

Test linear expressions over integer and Boolean variables More...

List of all members.

Public Member Functions

 LinExprMixed (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 LinInstrlis
 Linear instruction sequence.

Detailed Description

Test linear expressions over integer and Boolean variables

Definition at line 147 of file mm-lin.cpp.

Constructor & Destructor Documentation

Test::Int::MiniModelLin::LinExprMixed::LinExprMixed ( const LinInstr lis0,
const std::string &  s 
) [inline]

Create and register test.

Definition at line 153 of file mm-lin.cpp.

Member Function Documentation

virtual bool Test::Int::MiniModelLin::LinExprMixed::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 158 of file mm-lin.cpp.

virtual void Test::Int::MiniModelLin::LinExprMixed::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Int::Test.

Definition at line 165 of file mm-lin.cpp.

Member Data Documentation

Linear instruction sequence.

Definition at line 150 of file mm-lin.cpp.

The documentation for this class was generated from the following file: