Generated on Thu Mar 22 10:40:02 2012 for Gecode by doxygen 1.6.3

Test::Int::MiniModelSet::SetExprConst Class Reference
[Minimal modelling constraints (%Set constraints)]

Test set expressions with constant result More...

List of all members.

Public Member Functions

 SetExprConst (const SetInstr *bis0, const std::string &s, Gecode::SetRelType srt0, 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.
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::BoolVar b)
 Post reified constraint on x.

Protected Attributes

const SetInstrbis
 Set instruction sequence
int c
 Result of expression.
Gecode::SetRelType srt
 Set relation

Detailed Description

Test set expressions with constant result

Definition at line 121 of file mm-set.cpp.


Constructor & Destructor Documentation

Test::Int::MiniModelSet::SetExprConst::SetExprConst ( const SetInstr bis0,
const std::string &  s,
Gecode::SetRelType  srt0,
int  c0 
) [inline]

Create and register test.

Definition at line 131 of file mm-set.cpp.


Member Function Documentation

virtual bool Test::Int::MiniModelSet::SetExprConst::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 137 of file mm-set.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 156 of file mm-set.cpp.

virtual void Test::Int::MiniModelSet::SetExprConst::post ( Gecode::Space home,
Gecode::IntVarArray x,
Gecode::BoolVar  b 
) [inline, virtual]

Post reified constraint on x.

Reimplemented from Test::Int::Test.

Definition at line 176 of file mm-set.cpp.


Member Data Documentation

Set instruction sequence

Definition at line 124 of file mm-set.cpp.

Result of expression.

Definition at line 126 of file mm-set.cpp.

Set relation

Definition at line 128 of file mm-set.cpp.


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