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

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

Inherits Test::Int::Test.

List of all members.


Detailed Description

Test Boolean expressions with integer result.

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


Public Member Functions

 BoolExprInt (const BoolInstr *bis0, const std::string &s, int c0)
 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.
int c
 Result of expression.

Constructor & Destructor Documentation

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

Create and register test.

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


Member Function Documentation

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

Test whether x is solution.

Implements Test::Int::Test.

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

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

Post constraint on x.

Implements Test::Int::Test.

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


Member Data Documentation

Boolean instruction sequence.

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

Result of expression.

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


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