Generated on Fri Mar 20 15:57:08 2015 for Gecode by doxygen 1.6.3

Gecode::Search::Engine Class Reference

Search engine implementation interface More...

#include <search.hh>

List of all members.

Public Member Functions

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

Memory management



static void * operator new (size_t s)
 Allocate memory from heap.
static void operator delete (void *p)
 Free memory allocated from heap.

Detailed Description

Search engine implementation interface

Definition at line 601 of file search.hh.


Constructor & Destructor Documentation

Gecode::Search::Engine::~Engine ( void   )  [inline, virtual]

Destructor.

Definition at line 41 of file engine.hpp.


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

void Gecode::Search::Engine::reset ( Space s  )  [virtual]

Reset engine to restart at space s (does nothing).

Reimplemented in Gecode::Search::Parallel::BAB, Gecode::Search::Parallel::DFS, and Gecode::Search::WorkerToEngine< Worker >.

Definition at line 43 of file engine.cpp.

NoGoods & Gecode::Search::Engine::nogoods ( void   )  [virtual]

Return no-goods (the no-goods are empty).

Reimplemented in Gecode::Search::Parallel::BAB, Gecode::Search::Parallel::DFS, and Gecode::Search::WorkerToEngine< Worker >.

Definition at line 47 of file engine.cpp.

void * Gecode::Search::Engine::operator new ( size_t  s  )  [inline, static]

Allocate memory from heap.

Definition at line 43 of file engine.hpp.

void Gecode::Search::Engine::operator delete ( void *  p  )  [inline, static]

Free memory allocated from heap.

Definition at line 47 of file engine.hpp.


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