Test with different bin loads and items
More...
List of all members.
Public Member Functions |
| | BPT (int m0, const Gecode::IntArgs &s0, bool v=true) |
| | Create and register test for m bins and item sizes s.
|
| virtual Assignment * | assignment (void) const |
| | Create assignment.
|
| virtual bool | solution (const Assignment &x) const |
| | Test whether x is solution
|
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
| | Post constraint on x.
|
| | Test (const std::string &s, int a, const Gecode::IntSet &d, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| | Constructor.
|
| | Test (const std::string &s, int a, int min, int max, bool r=false, Gecode::IntConLevel i=Gecode::ICL_DEF) |
| | Constructor.
|
| virtual bool | ignore (const Assignment &) const |
| | Whether to ignore assignment for reification.
|
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x, Gecode::BoolVar b) |
| | Post reified constraint.
|
| virtual bool | run (void) |
| | Perform test.
|
| | Base (const std::string &s) |
| | Create and register test with name s.
|
| const std::string & | name (void) const |
| | Return name of test.
|
| Base * | next (void) const |
| | Return next test.
|
| void | next (Base *n) |
| | Set next test.
|
| virtual | ~Base (void) |
| | Destructor.
|
Detailed Description
Test with different bin loads and items
Definition at line 129 of file bin-packing.cpp.
Constructor & Destructor Documentation
| Test::Int::BinPacking::BPT::BPT |
( |
int |
m0, |
|
|
const Gecode::IntArgs & |
s0, |
|
|
bool |
v = true |
|
) |
| |
|
inline |
Member Function Documentation
| virtual Assignment* Test::Int::BinPacking::BPT::assignment |
( |
void |
| ) |
const |
|
inlinevirtual |
| virtual bool Test::Int::BinPacking::BPT::solution |
( |
const Assignment & |
x | ) |
const |
|
inlinevirtual |
Member Data Documentation
| int Test::Int::BinPacking::BPT::m |
|
protected |
| bool Test::Int::BinPacking::BPT::valid |
|
protected |
| int Test::Int::BinPacking::BPT::t |
|
protected |
| int Test::Int::BinPacking::BPT::il[4] |
|
mutableprotected |
The documentation for this class was generated from the following file: