Gecode::Search::Seq::PortfolioStop Class Reference
Stop object used for controlling slaves in a portfolio. More...
#include <gecode/search/seq/pbs.hh>
Public Member Functions | |
| PortfolioStop (Stop *so, Stop *po=nullptr) | |
| Initialize with slave stop so and portfolio stop po. | |
| void | share (SharedStopInfo *ssi) |
| Initialize shared stop information. | |
| virtual bool | stop (const Statistics &s, const Options &o) |
| Return true if portfolio engine must be stopped. | |
| Stop (void) | |
| Default constructor. | |
| virtual | ~Stop (void) |
| Destructor. | |
Additional Inherited Members | |
| static Stop * | node (unsigned long long int l) |
| Stop if node limit l has been exceeded. | |
| static Stop * | fail (unsigned long long int l) |
| Stop if failure limit l has been exceeded. | |
| static Stop * | time (double l) |
| Stop if time limit l (in milliseconds) has been exceeded. | |
| static Stop * | restart (unsigned long long int l) |
| Stop if restart limit l has been exceeded. | |
| Static Public Member Functions inherited from Gecode::HeapAllocated | |
| static void * | operator new (size_t s) |
| Memory management. | |
| static void | operator delete (void *p) |
| Free memory allocated from heap. | |
Detailed Description
Constructor & Destructor Documentation
◆ PortfolioStop()
Member Function Documentation
◆ share()
|
inline |
◆ stop()
|
virtual |
Return true if portfolio engine must be stopped.
Implements Gecode::Search::Stop.
The documentation for this class was generated from the following files:
