Gecode::Search::Par::Slave< Collect > Class Template Reference
Runnable slave of a portfolio master. More...
#include <pbs.hh>
Public Member Functions | |
| Slave (PBS< Collect > *m, Engine *s, Stop *so) | |
| Initialize with master m, slave s, and its stop object so. | |
| Statistics | statistics (void) const |
| Return statistics of slave. | |
| bool | stopped (void) const |
| Check whether slave has been stopped. | |
| void | constrain (const Space &b) |
| Constrain with better solution b. | |
| virtual void | run (void) |
| Perform one run. | |
| virtual | ~Slave (void) |
| Delete slave. | |
Protected Attributes | |
| PBS< Collect > * | master |
| The master engine. | |
| Engine * | slave |
| The slave engine. | |
| Stop * | stop |
| Stop object. | |
Detailed Description
template<class Collect>
class Gecode::Search::Par::Slave< Collect >
Runnable slave of a portfolio master.
Definition at line 67 of file pbs.hh.
Constructor & Destructor Documentation
template<class Collect>
| Gecode::Search::Par::Slave< Collect >::Slave | ( | PBS< Collect > * | m, | |
| Engine * | s, | |||
| Stop * | so | |||
| ) | [inline] |
template<class Collect >
| Gecode::Search::Par::Slave< Collect >::~Slave | ( | void | ) | [inline, virtual] |
Member Function Documentation
template<class Collect >
| Statistics Gecode::Search::Par::Slave< Collect >::statistics | ( | void | ) | const [inline] |
template<class Collect >
| bool Gecode::Search::Par::Slave< Collect >::stopped | ( | void | ) | const [inline] |
template<class Collect >
| void Gecode::Search::Par::Slave< Collect >::constrain | ( | const Space & | b | ) | [inline] |
template<class Collect >
| void Gecode::Search::Par::Slave< Collect >::run | ( | void | ) | [inline, virtual] |
Member Data Documentation
template<class Collect>
PBS<Collect>* Gecode::Search::Par::Slave< Collect >::master [protected] |
template<class Collect>
Engine* Gecode::Search::Par::Slave< Collect >::slave [protected] |
template<class Collect>
Stop* Gecode::Search::Par::Slave< Collect >::stop [protected] |
The documentation for this class was generated from the following files:
