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

Gecode::Search::Sequential::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.
Spacenext (void)
 Return next better solution (NULL, if none exists or search has been stopped).
 ~Restart (void)
 Destructor.

Protected Attributes

Spaceroot
 Root node.
Spacebest
 So-far best solution.

Detailed Description

Depth-first restart best solution search engine implementation.

Definition at line 46 of file restart.hh.


Constructor & Destructor Documentation

Gecode::Search::Sequential::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 62 of file restart.hh.

Gecode::Search::Sequential::Restart::~Restart ( void   )  [inline]

Destructor.

Definition at line 80 of file restart.hh.


Member Function Documentation

Space * Gecode::Search::Sequential::Restart::next ( void   )  [inline]

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

Reimplemented from Gecode::Search::Sequential::DFS.

Definition at line 67 of file restart.hh.


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.


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