Generated on Fri Oct 19 11:26:35 2018 for Gecode by doxygen 1.6.3

Test::Int::Rel::IntArrayDiff Class Reference
[Relation constraints]

Test for relation between differently sized arrays of integer variables More...

List of all members.

Public Member Functions

 IntArrayDiff (Gecode::IntRelType irt0, int m)
 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.

Protected Attributes

Gecode::IntRelType irt
 Integer relation type to propagate.
int n_fst
 How big is the first array.

Static Protected Attributes

static const int n = 4
 How many variables in total.

Detailed Description

Test for relation between differently sized arrays of integer variables

Definition at line 468 of file rel.cpp.


Constructor & Destructor Documentation

Test::Int::Rel::IntArrayDiff::IntArrayDiff ( Gecode::IntRelType  irt0,
int  m 
) [inline]

Create and register test.

Definition at line 478 of file rel.cpp.


Member Function Documentation

virtual bool Test::Int::Rel::IntArrayDiff::solution ( const Assignment x  )  const [inline, virtual]

Test whether x is solution

Implements Test::Int::Test.

Definition at line 485 of file rel.cpp.

virtual void Test::Int::Rel::IntArrayDiff::post ( Gecode::Space home,
Gecode::IntVarArray x 
) [inline, virtual]

Post constraint on x.

Implements Test::Int::Test.

Definition at line 493 of file rel.cpp.


Member Data Documentation

Integer relation type to propagate.

Definition at line 471 of file rel.cpp.

const int Test::Int::Rel::IntArrayDiff::n = 4 [static, protected]

How many variables in total.

Definition at line 473 of file rel.cpp.

How big is the first array.

Definition at line 475 of file rel.cpp.


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