Generated on Sat Jan 20 2018 22:21:27 for Gecode by doxygen 1.8.13

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...
 
- Public Member Functions inherited from Test::Base
 Base (const std::string &s)
 Create and register test with name s. More...
 
const std::string & name (void) const
 Return name of test. More...
 
Basenext (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 Public Member Functions inherited from Test::Base
static void sort (void)
 Sort tests alphabetically. More...
 
static Basetests (void)
 Return all tests. More...
 
static bool fixpoint (void)
 Throw a coin whether to compute a fixpoint. More...
 
- Static Public Attributes inherited from Test::Base
static Gecode::Support::RandomGenerator rand = Gecode::Support::RandomGenerator()
 Random number generator. More...
 

Detailed Description

Test for testing the max-clique finding for multi bin-packing.

Definition at line 249 of file bin-packing.cpp.

Constructor & Destructor Documentation

◆ CliqueMBPT()

Test::Int::BinPacking::CliqueMBPT::CliqueMBPT ( const Gecode::IntArgs c)
inline

Test for number of items n expected clique c.

Definition at line 267 of file bin-packing.cpp.

Member Function Documentation

◆ run()

virtual bool Test::Int::BinPacking::CliqueMBPT::run ( void  )
inlinevirtual

Run the actual test.

Implements Test::Base.

Definition at line 270 of file bin-packing.cpp.

Member Data Documentation

◆ n_items

int Test::Int::BinPacking::CliqueMBPT::n_items
protected

Number of items.

Definition at line 252 of file bin-packing.cpp.

◆ clique

Gecode::IntArgs Test::Int::BinPacking::CliqueMBPT::clique
protected

Expected clique.

Definition at line 254 of file bin-packing.cpp.


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