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

Test::Int::MiniModelLin::LinRelBool Class Reference
[Minimal modeling 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::Reify r)
 Post constraint on x for r.

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.

Detailed Description

Test linear relations over Boolean variables

Definition at line 272 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 282 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 290 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 296 of file mm-lin.cpp.

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

Post constraint on x for r.

Reimplemented from Test::Int::Test.

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


Member Data Documentation

Linear instruction sequence for left hand side.

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

Linear instruction sequence for right hand side.

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

Integer relation type to propagate.

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


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