Generated on for Gecode by doxygen 1.17.0
Gecode::Search::Engine Class Referenceabstract

Search engine implementation interface More...

#include <gecode/search.hh>

Public Member Functions

virtual Spacenext (void)=0
 Return next solution (nullptr, 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)
 Destructor.

Additional Inherited Members

Static Public Member Functions inherited from Gecode::HeapAllocated
static void * operator new (size_t s)
 Memory management.
static void operator delete (void *p)
 Free memory allocated from heap.

Detailed Description

Search engine implementation interface

Definition at line 943 of file search.hh.

Constructor & Destructor Documentation

◆ ~Engine()

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

Destructor.

Reimplemented in Gecode::Search::Par::Engine< Tracer >.

Definition at line 37 of file engine.hpp.

Member Function Documentation

◆ next()

◆ statistics()

◆ stopped()

◆ constrain()

◆ reset()

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

◆ nogoods()

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

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