Generated on Fri Mar 20 15:57:21 2015 for Gecode by doxygen 1.6.3

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

Test Boolean expressions with integer result More...

List of all members.

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.

Detailed Description

Test Boolean expressions with integer result

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


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


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

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 128 of file mm-bool.cpp.


Member Data Documentation

Boolean instruction sequence.

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

Result of expression.

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


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