
Meta engine using a portfolio of search engines. More...
#include <search.hh>
Public Member Functions | |
| PBS (T *s, const Search::Options &o=Search::Options::def) | |
| Initialize with engines running copies of s with options o. More... | |
| PBS (T *s, SEBs &sebs, const Search::Options &o=Search::Options::def) | |
| Initialize with engine builders sebs. More... | |
Public Member Functions inherited from Gecode::Search::Base< T > | |
| virtual T * | next (void) |
| Return next solution (NULL, if none exists or search has been stopped) More... | |
| virtual Statistics | statistics (void) const |
| Return statistics. More... | |
| virtual bool | stopped (void) const |
| Check whether engine has been stopped. More... | |
| virtual | ~Base (void) |
| Destructor. More... | |
Static Public Attributes | |
| static const bool | best = E<T>::best |
| Whether engine does best solution search. More... | |
Protected Member Functions | |
| void | build (T *s, SEBs &sebs, const Search::Options &o) |
| The actual build function. More... | |
Protected Member Functions inherited from Gecode::Search::Base< T > | |
| Base (Engine *e=NULL) | |
| Constructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::HeapAllocated | |
| static void * | operator new (size_t s) |
| Memory management. More... | |
| static void | operator delete (void *p) |
| Free memory allocated from heap. More... | |
Protected Attributes inherited from Gecode::Search::Base< T > | |
| Engine * | e |
| The actual search engine. More... | |
Meta engine using a portfolio of search engines.
The engine will run a portfolio with a number of assets as defined by the options o. The engine supports parallel execution of assets by using the number of threads as defined by the options.
The class T can implement member functions
and
When the assets are created, these functions are executed. For more details, consult "Modeling and Programming with Gecode".
| Gecode::PBS< T, E >::PBS | ( | T * | s, |
| const Search::Options & | o = Search::Options::def |
||
| ) |
|
inline |
|
protected |
|
static |