Generated on Sat May 25 2013 18:00:50 for Gecode by doxygen 1.8.3.1
Gecode::Search::Engine Class Referenceabstract

Search engine implementation interface More...

#include <search.hh>

Public Member Functions

virtual Spacenext (void)=0
 Return next solution (NULL, if none exists or search has been stopped) More...
 
virtual Statistics statistics (void) const =0
 Return statistics. More...
 
virtual bool stopped (void) const =0
 Check whether engine has been stopped. More...
 
virtual void reset (Space *s)=0
 Reset engine to restart at space s. More...
 
virtual ~Engine (void)
 Destructor. More...
 

Detailed Description

Search engine implementation interface

Definition at line 450 of file search.hh.

Constructor & Destructor Documentation

virtual Gecode::Search::Engine::~Engine ( void  )
inlinevirtual

Destructor.

Definition at line 461 of file search.hh.

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::WorkerToEngine< Worker >, and Gecode::Search::Meta::RBS.

virtual Statistics Gecode::Search::Engine::statistics ( void  ) const
pure virtual
virtual bool Gecode::Search::Engine::stopped ( void  ) const
pure virtual

Check whether engine has been stopped.

Implemented in Gecode::Search::Parallel::Engine, Gecode::Search::WorkerToEngine< Worker >, and Gecode::Search::Meta::RBS.

virtual void Gecode::Search::Engine::reset ( Space s)
pure virtual

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