
Test for no-overlap with optional rectangles More...
Public Member Functions | |
| VarOpt2 (int m, int n) | |
| Create and register test with maximal value m and n rectangles. | |
| virtual bool | solution (const Assignment &xwyho) const |
| Test whether xwyho is solution | |
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &xwyho) |
| Post constraint on xwyho. | |
Test for no-overlap with optional rectangles
Definition at line 173 of file no-overlap.cpp.
| Test::Int::NoOverlap::VarOpt2::VarOpt2 | ( | int | m, |
| int | n | ||
| ) | [inline] |
Create and register test with maximal value m and n rectangles.
Definition at line 176 of file no-overlap.cpp.
| virtual bool Test::Int::NoOverlap::VarOpt2::solution | ( | const Assignment & | xwyho | ) | const [inline, virtual] |
Test whether xwyho is solution
Implements Test::Int::Test.
Definition at line 181 of file no-overlap.cpp.
| virtual void Test::Int::NoOverlap::VarOpt2::post | ( | Gecode::Space & | home, |
| Gecode::IntVarArray & | xwyho | ||
| ) | [inline, virtual] |
Post constraint on xwyho.
Implements Test::Int::Test.
Definition at line 200 of file no-overlap.cpp.