Generated on Thu Mar 22 10:40:02 2012 for Gecode by doxygen 1.6.3

Test::Int::NoOverlap::Int2 Class Reference
[No-overlap constraints]

Test for no-overlap with integer dimensions (rectangles) More...

List of all members.

Public Member Functions

 Int2 (int m, const Gecode::IntArgs &w0, const Gecode::IntArgs &h0)
 Create and register test with maximal coordinate value m.
virtual bool solution (const Assignment &xy) const
 Test whether xy is solution
virtual void post (Gecode::Space &home, Gecode::IntVarArray &xy)
 Post constraint on xy.

Protected Attributes

Gecode::IntArgs w
 Width.
Gecode::IntArgs h
 Height.

Detailed Description

Test for no-overlap with integer dimensions (rectangles)

Definition at line 54 of file no-overlap.cpp.


Constructor & Destructor Documentation

Test::Int::NoOverlap::Int2::Int2 ( int  m,
const Gecode::IntArgs w0,
const Gecode::IntArgs h0 
) [inline]

Create and register test with maximal coordinate value m.

Definition at line 62 of file no-overlap.cpp.


Member Function Documentation

virtual bool Test::Int::NoOverlap::Int2::solution ( const Assignment xy  )  const [inline, virtual]

Test whether xy is solution

Implements Test::Int::Test.

Definition at line 68 of file no-overlap.cpp.

virtual void Test::Int::NoOverlap::Int2::post ( Gecode::Space home,
Gecode::IntVarArray xy 
) [inline, virtual]

Post constraint on xy.

Implements Test::Int::Test.

Definition at line 82 of file no-overlap.cpp.


Member Data Documentation

Width.

Definition at line 57 of file no-overlap.cpp.

Height.

Definition at line 59 of file no-overlap.cpp.


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