Generated on Mon Aug 25 11:35:55 2008 for Gecode by doxygen 1.5.6

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

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test linear relations over Boolean variables.

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


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 LinInstrl_lis
 Linear instruction sequence for left hand side.
const LinInstrr_lis
 Linear instruction sequence for right hand side.
Gecode::IntRelType irt
 Integer relation type to propagate.

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.cc.


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.cc.

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.cc.

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.cc.


Member Data Documentation

Linear instruction sequence for left hand side.

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

Linear instruction sequence for right hand side.

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

Integer relation type to propagate.

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


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