Gecode::Search::Base< T > Class Template Reference
Base-class for search engines. More...
#include <search.hh>
Public Member Functions | |
virtual T * | next (void) |
Return next solution (NULL, if none exists or search has been stopped). | |
virtual Statistics | statistics (void) const |
Return statistics. | |
virtual bool | stopped (void) const |
Check whether engine has been stopped. | |
virtual | ~Base (void) |
Destructor. | |
Protected Member Functions | |
Base (Engine *e=NULL) | |
Constructor. | |
Protected Attributes | |
Engine * | e |
The actual search engine. | |
Friends | |
template<class , class > | |
Engine * | build (Space *, const Options &) |
Build an engine of type E for a script T. | |
template<class , template< class > class> | |
Engine * | build (Space *, const Options &) |
Build an engine of type E for a script T. |
Detailed Description
template<class T>
class Gecode::Search::Base< T >
Base-class for search engines.
Definition at line 925 of file search.hh.
Constructor & Destructor Documentation
template<class T >
Gecode::Search::Base< T >::Base | ( | Engine * | e = NULL |
) | [inline, protected] |
template<class T >
Gecode::Search::Base< T >::~Base | ( | void | ) | [inline, virtual] |
Member Function Documentation
template<class T >
T * Gecode::Search::Base< T >::next | ( | void | ) | [inline, virtual] |
template<class T >
Statistics Gecode::Search::Base< T >::statistics | ( | void | ) | const [inline, virtual] |
template<class T >
bool Gecode::Search::Base< T >::stopped | ( | void | ) | const [inline, virtual] |
Friends And Related Function Documentation
Build an engine of type E for a script T.
Build a parametric engine of type E for a script T.
template<class T>
template<class , template< class > class>
Engine* build | ( | Space * | , | |
const Options & | ||||
) | [friend] |
Build an engine of type E for a script T.
Build a parametric engine of type E for a script T.
Member Data Documentation
template<class T>
Engine* Gecode::Search::Base< T >::e [protected] |
The documentation for this class was generated from the following files: