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

Gecode::Search::Parallel::Restart Class Reference

Depth-first restart best solution search engine implementation. More...

#include <restart.hh>

List of all members.

Public Member Functions

 Restart (Space *s, size_t sz, const Search::Options &o)
 Initialize engine for space s (with size sz) and options o.
virtual Spacenext (void)
 Return next better solution (NULL, if none exists or search has been stopped).
virtual ~Restart (void)
 Destructor.

Protected Attributes

Spaceroot
 Root node.
Spacebest
 So-far best solution.
bool reset_needed
 Whether a reset is needed.

Detailed Description

Depth-first restart best solution search engine implementation.

Definition at line 46 of file restart.hh.


Constructor & Destructor Documentation

Gecode::Search::Parallel::Restart::Restart ( Space s,
size_t  sz,
const Search::Options o 
) [inline]

Initialize engine for space s (with size sz) and options o.

Definition at line 64 of file restart.hh.

Gecode::Search::Parallel::Restart::~Restart ( void   )  [virtual]

Destructor.

Definition at line 157 of file restart.cpp.


Member Function Documentation

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

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

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

Definition at line 46 of file restart.cpp.


Member Data Documentation

Root node.

Definition at line 49 of file restart.hh.

So-far best solution.

Definition at line 51 of file restart.hh.

Whether a reset is needed.

Definition at line 53 of file restart.hh.


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