Gecode::Search::Engine Class Reference
Search engine interface More...
#include <search.hh>
Public Member Functions | |
virtual Space * | next (void)=0 |
Return next solution (NULL, if none exists or search has been stopped). | |
virtual Search::Statistics | statistics (void) const =0 |
Return statistics. | |
virtual bool | stopped (void) const =0 |
Check whether engine has been stopped. | |
virtual | ~Engine (void) |
Destructor. |
Detailed Description
Search engine interface
Definition at line 302 of file search.hh.
Constructor & Destructor Documentation
virtual Gecode::Search::Engine::~Engine | ( | void | ) | [inline, virtual] |
Member Function Documentation
virtual Space* Gecode::Search::Engine::next | ( | void | ) | [pure virtual] |
Return next solution (NULL, if none exists or search has been stopped).
Implemented in Gecode::Search::Parallel::Engine, Gecode::Search::Parallel::Restart, and Gecode::Search::WorkerToEngine< Worker >.
virtual Search::Statistics Gecode::Search::Engine::statistics | ( | void | ) | const [pure virtual] |
Return statistics.
Implemented in Gecode::Search::Parallel::BAB, Gecode::Search::Parallel::DFS, and Gecode::Search::WorkerToEngine< Worker >.
virtual bool Gecode::Search::Engine::stopped | ( | void | ) | const [pure virtual] |
Check whether engine has been stopped.
Implemented in Gecode::Search::Parallel::Engine, and Gecode::Search::WorkerToEngine< Worker >.
The documentation for this class was generated from the following file:
- gecode/search.hh (Revision: 11498)