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

Test::Set::Rel::RelBin Class Reference
[Relation constraints]

Inherits Test::Set::SetTest.

List of all members.


Detailed Description

Test for binary set relation constraint.

Definition at line 56 of file rel.cc.


Public Member Functions

 RelBin (Gecode::SetRelType srt0, bool shared0)
 Create and register test.
bool solution (const SetAssignment &x) const
 Test whether x is solution.
void post (Space *home, SetVarArray &x, IntVarArray &)
 Post constraint on x.
void post (Space *home, SetVarArray &x, IntVarArray &, BoolVar b)
 Post reified constraint on x for b.

Constructor & Destructor Documentation

Test::Set::Rel::RelBin::RelBin ( Gecode::SetRelType  srt0,
bool  shared0 
) [inline]

Create and register test.

Definition at line 62 of file rel.cc.


Member Function Documentation

bool Test::Set::Rel::RelBin::solution ( const SetAssignment x  )  const [inline, virtual]

Test whether x is solution.

Implements Test::Set::SetTest.

Definition at line 67 of file rel.cc.

void Test::Set::Rel::RelBin::post ( Space home,
SetVarArray x,
IntVarArray  
) [inline, virtual]

Post constraint on x.

Implements Test::Set::SetTest.

Definition at line 94 of file rel.cc.

void Test::Set::Rel::RelBin::post ( Space home,
SetVarArray x,
IntVarArray ,
BoolVar  b 
) [inline, virtual]

Post reified constraint on x for b.

Reimplemented from Test::Set::SetTest.

Definition at line 101 of file rel.cc.


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