Test for testing the max-clique finding for multi bin-packing. More...
Classes | |
class | TestSpace |
Simple test space class. More... | |
Public Member Functions | |
CliqueMBPT (const Gecode::IntArgs &c) | |
Test for number of items n expected clique c. More... | |
virtual bool | run (void) |
Run the actual test. More... | |
![]() | |
Base (const std::string &s) | |
Create and register test with name s. More... | |
const std::string & | name (void) const |
Return name of test. More... | |
Base * | next (void) const |
Return next test. More... | |
void | next (Base *n) |
Set next test. More... | |
virtual | ~Base (void) |
Destructor. More... | |
Protected Attributes | |
int | n_items |
Number of items. More... | |
Gecode::IntArgs | clique |
Expected clique. More... | |
Additional Inherited Members | |
![]() | |
static void | sort (void) |
Sort tests alphabetically. More... | |
static Base * | tests (void) |
Return all tests. More... | |
static bool | fixpoint (void) |
Throw a coin whether to compute a fixpoint. More... | |
![]() | |
static Gecode::Support::RandomGenerator | rand = Gecode::Support::RandomGenerator() |
Random number generator. More... | |
![]() | |
int | main (int argc, char *argv[]) |
Main function. More... | |
Test for testing the max-clique finding for multi bin-packing.
Definition at line 245 of file bin-packing.cpp.
|
inline |
Test for number of items n expected clique c.
Definition at line 263 of file bin-packing.cpp.
|
inlinevirtual |
|
protected |
Number of items.
Definition at line 248 of file bin-packing.cpp.
|
protected |
Expected clique.
Definition at line 250 of file bin-packing.cpp.