Generated on Tue Sep 25 2012 20:53:32 for Gecode by doxygen 1.7.5
Gecode::Search::WorkerToEngine Class Reference

Virtualize a worker to an engine. More...

#include <support.hh>

List of all members.

Public Member Functions

 WorkerToEngine (Space *s, size_t sz, const Options &o)
 Initialization.
virtual Spacenext (void)
 Return next solution (NULL, if none exists or search has been stopped)
virtual Search::Statistics statistics (void) const
 Return statistics.
virtual bool stopped (void) const
 Check whether engine has been stopped.

Protected Attributes

Worker w

Detailed Description

Virtualize a worker to an engine.


Constructor & Destructor Documentation

Gecode::Search::WorkerToEngine::WorkerToEngine ( Space s,
size_t  sz,
const Options o 
)

Initialization.

Definition at line 68 of file support.hh.


Member Function Documentation

Space * Gecode::Search::WorkerToEngine::next ( void  ) [virtual]

Return next solution (NULL, if none exists or search has been stopped)

Implements Gecode::Search::Engine.

Definition at line 73 of file support.hh.

Search::Statistics Gecode::Search::WorkerToEngine::statistics ( void  ) const [virtual]

Return statistics.

Implements Gecode::Search::Engine.

Definition at line 78 of file support.hh.

bool Gecode::Search::WorkerToEngine::stopped ( void  ) const [virtual]

Check whether engine has been stopped.

Implements Gecode::Search::Engine.

Definition at line 83 of file support.hh.


Member Data Documentation

Definition at line 55 of file support.hh.


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