Generated on Tue Apr 18 10:24:05 2017 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 constrain (const Space &b)
 Constrain future solutions to be better than b (raises exception).
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)

Detailed Description

Search engine implementation interface

Definition at line 601 of file search.hh.

Constructor & Destructor Documentation

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


Definition at line 41 of file engine.hpp.

Member Function Documentation

void Gecode::Search::Engine::constrain ( const Space b  )  [virtual]
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, Gecode::Search::Sequential::LDS, and Gecode::Search::WorkerToEngine< Worker >.

Definition at line 48 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 52 of file engine.cpp.

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