Generated on Thu Mar 22 10:39:59 2012 for Gecode by doxygen 1.6.3

Gecode::Search::Parallel::DFS::Worker Class Reference

Parallel depth-first search worker More...

#include <dfs.hh>

List of all members.

Public Member Functions

 Worker (Space *s, size_t sz, DFS &e)
 Initialize for space s (of size sz) with engine e.
DFSengine (void) const
 Provide access to engine.
virtual void run (void)
 Start execution of worker.
void find (void)
 Try to find some work.
Spacereset (Space *s)
 Reset engine to restart at space s and return new root space.

Detailed Description

Parallel depth-first search worker

Definition at line 49 of file dfs.hh.


Constructor & Destructor Documentation

Gecode::Search::Parallel::DFS::Worker::Worker ( Space s,
size_t  sz,
DFS e 
) [inline]

Initialize for space s (of size sz) with engine e.

Definition at line 105 of file dfs.hh.


Member Function Documentation

DFS & Gecode::Search::Parallel::DFS::Worker::engine ( void   )  const [inline]

Provide access to engine.

Reimplemented from Gecode::Search::Parallel::Engine::Worker.

Definition at line 92 of file dfs.hh.

void Gecode::Search::Parallel::DFS::Worker::run ( void   )  [virtual]

Start execution of worker.

Implements Gecode::Support::Runnable.

Definition at line 62 of file dfs.cpp.

void Gecode::Search::Parallel::DFS::Worker::find ( void   )  [inline]

Try to find some work.

Definition at line 174 of file dfs.hh.

Space * Gecode::Search::Parallel::DFS::Worker::reset ( Space s  )  [inline]

Reset engine to restart at space s and return new root space.

Definition at line 129 of file dfs.hh.


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