Generated on Thu Mar 7 2013 10:22:23 for Gecode by doxygen 1.8.3.1
Test::Search::Best< Model, Engine > Class Template Reference

Test for best solution search More...

Public Member Functions

 Best (const std::string &b, HowToConstrain htc, HowToBranch htb1, HowToBranch htb2, HowToBranch htb3, unsigned int c_d0, unsigned int a_d0, unsigned int t0)
 Initialize test. More...
 
virtual bool run (void)
 Run test. More...
 
- Public Member Functions inherited from Test::Search::Test
 Test (const std::string &s, HowToBranch _htb1, HowToBranch _htb2, HowToBranch _htb3, HowToConstrain _htc=HTC_NONE)
 Initialize 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from Test::Search::Test
static std::string str (unsigned int i)
 Map unsigned integer to string. More...
 
static std::string str (HowToBranch htb)
 Map branching to string. More...
 
static std::string str (HowToConstrain htc)
 Map constrain to string. More...
 
- Public Attributes inherited from Test::Search::Test
HowToBranch htb1
 How to branch. More...
 
HowToBranch htb2
 
HowToBranch htb3
 
HowToConstrain htc
 How to constrain. More...
 
- Static Public Attributes inherited from Test::Base
static
Gecode::Support::RandomGenerator 
rand = Gecode::Support::RandomGenerator()
 Random number generator. More...
 

Detailed Description

template<class Model, template< class > class Engine>
class Test::Search::Best< Model, Engine >

Test for best solution search

Definition at line 340 of file search.cpp.

Constructor & Destructor Documentation

template<class Model , template< class > class Engine>
Test::Search::Best< Model, Engine >::Best ( const std::string &  b,
HowToConstrain  htc,
HowToBranch  htb1,
HowToBranch  htb2,
HowToBranch  htb3,
unsigned int  c_d0,
unsigned int  a_d0,
unsigned int  t0 
)
inline

Initialize test.

Definition at line 350 of file search.cpp.

Member Function Documentation

template<class Model , template< class > class Engine>
virtual bool Test::Search::Best< Model, Engine >::run ( void  )
inlinevirtual

Run test.

Implements Test::Base.

Definition at line 358 of file search.cpp.


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