Generated on Thu Apr 11 14:00:08 2019 for Gecode by doxygen 1.6.3

Gecode::Search::Par::PortfolioStop Class Reference

Stop object used for controling slaves in a portfolio. More...

#include <pbs.hh>

List of all members.

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]

Initialize.

Definition at line 117 of file pbs.hpp.


Member Function Documentation

void Gecode::Search::Par::PortfolioStop::share ( volatile bool *  ts  )  [inline]

Set pointer to shared tostop variable.

Definition at line 121 of file pbs.hpp.

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.

Definition at line 38 of file pbs.cpp.

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: