Generated on Tue May 22 09:41:41 2018 for Gecode by doxygen 1.6.3

Gecode::Search::Seq::Slave Class Reference

Runnable slave of a portfolio master. More...

#include <pbs.hh>

List of all members.

Public Member Functions

void init (Engine *s, Stop *so)
 Initialize with slave s and its stop object so.
Spacenext (void)
 Return next solution.
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.
void run (void)
 Perform one run.
 ~Slave (void)
 Delete slave.

Protected Attributes

Engineslave
 The slave engine.
Stopstop
 Stop object.

Detailed Description

Runnable slave of a portfolio master.

Definition at line 67 of file pbs.hh.


Constructor & Destructor Documentation

Gecode::Search::Seq::Slave::~Slave ( void   )  [inline]

Delete slave.

Definition at line 69 of file pbs.hpp.


Member Function Documentation

void Gecode::Search::Seq::Slave::init ( Engine s,
Stop so 
) [inline]

Initialize with slave s and its stop object so.

Definition at line 49 of file pbs.hpp.

Space * Gecode::Search::Seq::Slave::next ( void   )  [inline]

Return next solution.

Definition at line 53 of file pbs.hpp.

Statistics Gecode::Search::Seq::Slave::statistics ( void   )  const [inline]

Return statistics of slave.

Definition at line 57 of file pbs.hpp.

bool Gecode::Search::Seq::Slave::stopped ( void   )  const [inline]

Check whether slave has been stopped.

Definition at line 61 of file pbs.hpp.

void Gecode::Search::Seq::Slave::constrain ( const Space b  )  [inline]

Constrain with better solution b.

Definition at line 65 of file pbs.hpp.

void Gecode::Search::Seq::Slave::run ( void   ) 

Perform one run.


Member Data Documentation

The slave engine.

Definition at line 70 of file pbs.hh.

Stop object.

Definition at line 72 of file pbs.hh.


The documentation for this class was generated from the following files: