Generated on Thu Apr 11 14:00:23 2019 for Gecode by doxygen 1.6.3

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

Test for n-ary partition constraint More...

List of all members.

Public Member Functions

 RelN (Gecode::SetOpType sot0, int n0, int shared0, bool withConst0)
 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 n-ary partition constraint

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


Constructor & Destructor Documentation

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

Create and register test.

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


Member Function Documentation

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

Test whether x is solution

Implements Test::Set::SetTest.

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

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

Post constraint on x.

Implements Test::Set::SetTest.

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


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