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

Test::Set::RelOp::Rel Class Reference
[Relation/operation constraints]

Test for ternary relation constraint More...

List of all members.

Public Member Functions

 Rel (Gecode::SetOpType sot0, Gecode::SetRelType srt0, int share0=0)
 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.

Detailed Description

Test for ternary relation constraint

Definition at line 57 of file rel-op.cpp.


Constructor & Destructor Documentation

Test::Set::RelOp::Rel::Rel ( Gecode::SetOpType  sot0,
Gecode::SetRelType  srt0,
int  share0 = 0 
) [inline]

Create and register test.

Definition at line 88 of file rel-op.cpp.


Member Function Documentation

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

Test whether x is solution

Implements Test::Set::SetTest.

Definition at line 93 of file rel-op.cpp.

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

Post constraint on x.

Implements Test::Set::SetTest.

Definition at line 143 of file rel-op.cpp.


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