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

Test::Int::Distinct::Offset Class Reference
[Distinct constraints]

Simple test for distinct constraint with offsets. More...

List of all members.

Public Member Functions

 Offset (const Gecode::IntSet &d, Gecode::IntPropLevel ipl)
 Create and register test.
 Offset (int min, int max, Gecode::IntPropLevel ipl)
 Create and register test.
virtual bool solution (const Assignment &x) const
 Check whether x is solution.
virtual void post (Gecode::Space &home, Gecode::IntVarArray &x)
 Post constraint on x.

Detailed Description

Simple test for distinct constraint with offsets.

Definition at line 86 of file distinct.cpp.


Constructor & Destructor Documentation

Test::Int::Distinct::Offset::Offset ( const Gecode::IntSet d,
Gecode::IntPropLevel  ipl 
) [inline]

Create and register test.

Definition at line 89 of file distinct.cpp.

Test::Int::Distinct::Offset::Offset ( int  min,
int  max,
Gecode::IntPropLevel  ipl 
) [inline]

Create and register test.

Definition at line 92 of file distinct.cpp.


Member Function Documentation

virtual bool Test::Int::Distinct::Offset::solution ( const Assignment x  )  const [inline, virtual]

Check whether x is solution.

Implements Test::Int::Test.

Definition at line 95 of file distinct.cpp.

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

Post constraint on x.

Implements Test::Int::Test.

Definition at line 103 of file distinct.cpp.


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