Generated on Tue May 22 09:42:00 2018 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 50 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 58 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 64 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 78 of file no-overlap.cpp.


Member Data Documentation

Width.

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

Height.

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


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