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

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

Inherits Test::Set::SetTest.

List of all members.


Detailed Description

Test for n-ary partition constraint.

Definition at line 341 of file rel-op.cc.


Public Member Functions

 RelIntN (Gecode::SetOpType sot0, int n0, bool withConst0)
 Create and register test.
bool solution (const SetAssignment &x) const
 Test whether x is solution.
void post (Space *home, SetVarArray &x, IntVarArray &y)
 Post constraint on x.

Constructor & Destructor Documentation

Test::Set::RelOp::RelIntN::RelIntN ( Gecode::SetOpType  sot0,
int  n0,
bool  withConst0 
) [inline]

Create and register test.

Definition at line 349 of file rel-op.cc.


Member Function Documentation

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

Test whether x is solution.

Implements Test::Set::SetTest.

Definition at line 356 of file rel-op.cc.

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

Post constraint on x.

Implements Test::Set::SetTest.

Definition at line 436 of file rel-op.cc.


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