Gecode::Search::Par::PortfolioStop Class Reference
Stop object used for controling slaves in a portfolio. More...
#include <pbs.hh>
Public Member Functions | |
| PortfolioStop (Stop *so) | |
| Initialize. | |
| void | share (volatile bool *ts) |
| Set pointer to shared tostop variable. | |
| virtual bool | stop (const Statistics &s, const Options &o) |
| Return true if portfolio engine must be stopped. | |
| void | stop (bool s) |
| Signal whether search must be stopped. | |
| bool | stop (void) const |
| Whether search must be stopped. | |
Detailed Description
Stop object used for controling slaves in a portfolio.
Definition at line 42 of file pbs.hh.
Constructor & Destructor Documentation
| Gecode::Search::Par::PortfolioStop::PortfolioStop | ( | Stop * | so | ) | [inline] |
Member Function Documentation
| void Gecode::Search::Par::PortfolioStop::share | ( | volatile bool * | ts | ) | [inline] |
| bool Gecode::Search::Par::PortfolioStop::stop | ( | const Statistics & | s, | |
| const Options & | o | |||
| ) | [virtual] |
Return true if portfolio engine must be stopped.
Implements Gecode::Search::Stop.
| void Gecode::Search::Par::PortfolioStop::stop | ( | bool | s | ) |
Signal whether search must be stopped.
| bool Gecode::Search::Par::PortfolioStop::stop | ( | void | ) | const |
Whether search must be stopped.
The documentation for this class was generated from the following files:
