Generated on Thu Apr 11 14:00:19 2019 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::Reify r)
 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 117 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 127 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 133 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 152 of file mm-set.cpp.

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

Post reified constraint on x.

Reimplemented from Test::Int::Test.

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


Member Data Documentation

Set instruction sequence

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

Result of expression.

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

Set relation

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


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