Gecode::Search::Parallel::BAB::Worker Class Reference
Parallel BAB search worker.
More...
#include <bab.hh>
List of all members.
|
Public Member Functions |
| | Worker (Space *s, size_t sz, BAB &e) |
| | Initialize for space s (of size sz) with engine e.
|
| BAB & | engine (void) const |
| | Provide access to engine.
|
| virtual void | run (void) |
| | Start execution of worker.
|
| void | better (Space *b) |
| | Accept better solution b.
|
| void | find (void) |
| | Try to find some work.
|
| virtual | ~Worker (void) |
| | Destructor.
|
Protected Attributes |
| int | mark |
| | Number of entries not yet constrained to be better.
|
| Space * | best |
| | Best solution found so far.
|
Detailed Description
Parallel BAB search worker.
Definition at line 49 of file bab.hh.
Constructor & Destructor Documentation
| Gecode::Search::Parallel::BAB::Worker::Worker |
( |
Space * |
s, |
|
|
size_t |
sz, |
|
|
BAB & |
e | |
|
) |
| | [inline] |
Initialize for space s (of size sz) with engine e.
Definition at line 113 of file bab.hh.
| Gecode::Search::Parallel::BAB::Worker::~Worker |
( |
void |
|
) |
[virtual] |
Member Function Documentation
| BAB & Gecode::Search::Parallel::BAB::Worker::engine |
( |
void |
|
) |
const [inline] |
| void Gecode::Search::Parallel::BAB::Worker::run |
( |
void |
|
) |
[virtual] |
| void Gecode::Search::Parallel::BAB::Worker::better |
( |
Space * |
b |
) |
[inline] |
Accept better solution b.
Definition at line 140 of file bab.hh.
| void Gecode::Search::Parallel::BAB::Worker::find |
( |
void |
|
) |
[inline] |
Try to find some work.
Definition at line 180 of file bab.hh.
Member Data Documentation
Number of entries not yet constrained to be better.
Definition at line 52 of file bab.hh.
Best solution found so far.
Definition at line 54 of file bab.hh.
The documentation for this class was generated from the following files: