Generated on Mon Nov 30 23:53:59 2009 for Gecode by doxygen 1.6.1

Test::Int::MiniModelLin::LinRelBool Class Reference
[Minimal modelling constraints (linear constraints)]

Test linear relations over Boolean variables. More...

List of all members.

Public Member Functions

 LinRelBool (const LinInstr *l_lis0, const LinInstr *r_lis0, Gecode::IntRelType irt0, 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.
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::BoolVar b)
 Post constraint on x for bb.

Protected Attributes

const LinInstr * l_lis
 Linear instruction sequence for left hand side.
const LinInstr * r_lis
 Linear instruction sequence for right hand side.
Gecode::IntRelType irt
 Integer relation type to propagate.

Detailed Description

Test linear relations over Boolean variables.

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


Constructor & Destructor Documentation

Test::Int::MiniModelLin::LinRelBool::LinRelBool ( const LinInstr *  l_lis0,
const LinInstr *  r_lis0,
Gecode::IntRelType  irt0,
const std::string &  s 
) [inline]

Create and register test.

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


Member Function Documentation

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

Test whether x is solution.

Implements Test::Int::Test.

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

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

Post constraint on x.

Implements Test::Int::Test.

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

virtual void Test::Int::MiniModelLin::LinRelBool::post ( Gecode::Space &  home,
Gecode::IntVarArray &  x,
Gecode::BoolVar  b 
) [inline, virtual]

Post constraint on x for bb.

Reimplemented from Test::Int::Test.

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


Member Data Documentation

Linear instruction sequence for left hand side.

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

Linear instruction sequence for right hand side.

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

Integer relation type to propagate.

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


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