Generated on Fri Mar 20 15:57:22 2015 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 443 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 453 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 460 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 468 of file rel.cpp.


Member Data Documentation

Integer relation type to propagate.

Definition at line 446 of file rel.cpp.

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

How many variables in total.

Definition at line 448 of file rel.cpp.

How big is the first array.

Definition at line 450 of file rel.cpp.


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