Parallel branch-and-bound engine More...
#include <bab.hh>
Classes | |
class | Worker |
Parallel branch-and-bound search worker More... | |
Public Member Functions | |
Worker * | worker (unsigned int i) const |
Provide access to worker i. | |
Protected Attributes | |
Worker ** | _worker |
Array of worker references. | |
Space * | best |
Best solution so far. | |
Search control | |
void | solution (Space *s) |
Report solution s. | |
Engine interface | |
BAB (Space *s, size_t sz, const Options &o) | |
Initialize for space s (of size sz) with options o. | |
virtual Statistics | statistics (void) const |
Return statistics. | |
virtual | ~BAB (void) |
Destructor. |
Gecode::Search::Parallel::BAB::BAB | ( | Space * | s, |
size_t | sz, | ||
const Options & | o | ||
) | [inline] |
Gecode::Search::Parallel::BAB::~BAB | ( | void | ) | [virtual] |
BAB::Worker * Gecode::Search::Parallel::BAB::worker | ( | unsigned int | i | ) | const [inline] |
void Gecode::Search::Parallel::BAB::solution | ( | Space * | s | ) | [inline] |
Statistics Gecode::Search::Parallel::BAB::statistics | ( | void | ) | const [virtual] |
Worker** Gecode::Search::Parallel::BAB::_worker [protected] |
Space* Gecode::Search::Parallel::BAB::best [protected] |