Generated on Sat Aug 25 2012 15:53:16 for Gecode by doxygen 1.7.5
Test::Int::NoOverlap::Var2 Class Reference

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

List of all members.

Public Member Functions

 Var2 (int m, int n)
 Create and register test with maximal value m and n rectangles.
virtual bool solution (const Assignment &xwyh) const
 Test whether xwyh is solution
virtual void post (Gecode::Space &home, Gecode::IntVarArray &xwyh)
 Post constraint on xwyh.

Detailed Description

Test for no-overlap with variable dimensions (rectangles)


Constructor & Destructor Documentation

Test::Int::NoOverlap::Var2::Var2 ( int  m,
int  n 
) [inline]

Create and register test with maximal value m and n rectangles.

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


Member Function Documentation

virtual bool Test::Int::NoOverlap::Var2::solution ( const Assignment xwyh) const [inline, virtual]

Test whether xwyh is solution

Implements Test::Int::Test.

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

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

Post constraint on xwyh.

Implements Test::Int::Test.

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


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