Gecode::DFS< T > Class Template Reference
[Search engines]
#include <search.hh>
Inherits Gecode::Search::DFS.
Inherited by Gecode::Restart< T >.
Detailed Description
template<class T>
class Gecode::DFS< T >
Depth-first search engine.
This class supports depth-first search for subclasses T of Space.
Definition at line 449 of file search.hh.
Public Member Functions | |
DFS (T *s, const Search::Options &o=Search::Options::def) | |
Initialize search engine for space s with options o. | |
T * | next (void) |
Return next solution (NULL, if none exists or search has been stopped). |
Constructor & Destructor Documentation
template<class T>
Gecode::DFS< T >::DFS | ( | T * | s, | |
const Search::Options & | o = Search::Options::def | |||
) | [inline] |
Member Function Documentation
template<class T>
T * Gecode::DFS< T >::next | ( | void | ) | [inline] |
Return next solution (NULL, if none exists or search has been stopped).
Reimplemented from Gecode::Search::DFS.
Reimplemented in Gecode::Restart< T >.
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 7310)
- gecode/search/dfs.icc (Revision: 6273)