|
| 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...
|
|
| PBS (T *s, SEB seb0, SEB seb1, const Search::Options &o=Search::Options::def) |
| Initialize with engine builders seb0 and seb1. More...
|
|
| PBS (T *s, SEB seb0, SEB seb1, SEB seb2, const Search::Options &o=Search::Options::def) |
| Initialize with engine builders seb0, seb1, and seb2. More...
|
|
| PBS (T *s, SEB seb0, SEB seb1, SEB seb2, SEB seb3, const Search::Options &o=Search::Options::def) |
| Initialize with engine builders seb0, seb1, seb2, and seb3. More...
|
|
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...
|
|
template<class T, template< class > class E = DFS>
class Gecode::PBS< T, E >
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
virtual bool master(const MetaInfo& mi)
and
virtual bool slave(const MetaInfo& mi)
When the assets are created, these functions are executed. For more details, consult "Modeling and Programming with Gecode".
Definition at line 1235 of file search.hh.