Generated on Sat Feb 7 2015 02:01:50 for Gecode by doxygen 1.8.9.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 NoGoodsnogoods (void)=0
 Return no-goods. More...
 
virtual ~Engine (void)
 Destructor. More...
 

Detailed Description

Search engine implementation interface

Definition at line 445 of file search.hh.

Constructor & Destructor Documentation

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

Destructor.

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

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

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

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