Generated on for Gecode by doxygen 1.17.0
Test::Search::HeuristicPortfolio Class Reference

Portfolio of BAB, A*, and CABS assets. More...

Public Member Functions

 HeuristicPortfolio (void)
bool run (void) override
 Run test.
Public Member Functions inherited from Test::Base
 Base (std::string s)
 Create and register a standard test with name s.
 Base (std::string s, TestTags t)
 Create and register test with name s and tags t.
const std::string & name (void) const
 Return name of test.
TestTags tags (void) const
 Return tags for test.
Base * next (void) const
 Return next test.
void next (Base *n)
 Set next test.
bool fixpoint (void)
 Throw a coin whether to compute a fixpoint.
virtual ~Base (void)
 Destructor.

Static Public Member Functions

static bool limited (unsigned int threads)
 Run width-limited CABS and BAB on a tree where CABS stops early.
Static Public Member Functions inherited from Test::Base
static void sort (void)
 Sort tests alphabetically.
static Base * tests (void)
 Return all tests.
static bool fixpoint (Gecode::Support::RandomGenerator &rand)
 Throw a coin whether to compute a fixpoint.
static std::string str (bool b)
 Map bool to string.
static std::string str (int i)
 Map integer to string.
static std::string str (const Gecode::IntArgs &i)
 Map integer array to string.

Additional Inherited Members

Gecode::Support::RandomGenerator _rand
 Random number generator.

Detailed Description

Portfolio of BAB, A*, and CABS assets.

Definition at line 293 of file search.cpp.

Constructor & Destructor Documentation

◆ HeuristicPortfolio()

Test::Search::HeuristicPortfolio::HeuristicPortfolio ( void )
inline

Definition at line 304 of file search.cpp.

Member Function Documentation

◆ run()

bool Test::Search::HeuristicPortfolio::run ( void )
inlineoverridevirtual

Run test.

Implements Test::Base.

Definition at line 306 of file search.cpp.

◆ limited()

bool Test::Search::HeuristicPortfolio::limited ( unsigned int threads)
inlinestatic

Run width-limited CABS and BAB on a tree where CABS stops early.

Definition at line 326 of file search.cpp.


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