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

Test::Int::MiniModelBoolean::BoolExprVar Class Reference
[Minimal modelling constraints (Boolean constraints)]

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test posting Boolean expressions.

Definition at line 141 of file mm-bool.cc.


Public Member Functions

 BoolExprVar (const BoolInstr *bis0, 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 BoolInstrbis
 Boolean instruction sequence.

Constructor & Destructor Documentation

Test::Int::MiniModelBoolean::BoolExprVar::BoolExprVar ( const BoolInstr bis0,
const std::string &  s 
) [inline]

Create and register test.

Definition at line 147 of file mm-bool.cc.


Member Function Documentation

virtual bool Test::Int::MiniModelBoolean::BoolExprVar::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution.

Implements Test::Int::Test.

Definition at line 150 of file mm-bool.cc.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 155 of file mm-bool.cc.


Member Data Documentation

Boolean instruction sequence.

Definition at line 144 of file mm-bool.cc.


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