Generated on Sun Apr 1 2012 00:25:27 for Gecode by doxygen 1.7.6.1
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.

Destructor.

Definition at line 158 of file restart.cpp.


Member Function Documentation

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

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

Definition at line 47 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: