Generated on Wed Jan 4 17:49:23 2006 for Gecode by doxygen 1.4.6

Gecode::Search::PlainEngine Class Reference

#include <search.hh>

Inherits Gecode::Search::FullStatistics.

Inherited by Gecode::Search::DfsCopyEngine, and Gecode::Search::DfsReCoEngine.

List of all members.


Detailed Description

Interface for depth-first search engines.

Definition at line 120 of file search.hh.

Public Member Functions

 PlainEngine (size_t sz)
 Constructor.
virtual GECODE_SEARCH_EXPORT ~PlainEngine (void)
 Destructor.
virtual void reset (Space *s)=0
 Reset engine to restart a space s.
virtual Spaceexplore (void)=0
 Search for next solution
virtual size_t stacksize (void) const =0
 Return stack size used by engine.

Static Public Member Functions

static void * operator new (size_t)
 Allocate memory from heap.
static void operator delete (void *, size_t)
 Release memory to heap.


Constructor & Destructor Documentation

Gecode::Search::PlainEngine::PlainEngine size_t  sz  )  [inline]
 

Constructor.

Definition at line 25 of file plain.icc.

Gecode::Search::PlainEngine::~PlainEngine void   )  [inline, virtual]
 

Destructor.

Definition at line 39 of file plain.icc.


Member Function Documentation

virtual void Gecode::Search::PlainEngine::reset Space s  )  [pure virtual]
 

Reset engine to restart a space s.

Implemented in Gecode::Search::DfsCopyEngine, and Gecode::Search::DfsReCoEngine.

virtual Space* Gecode::Search::PlainEngine::explore void   )  [pure virtual]
 

Search for next solution

Implemented in Gecode::Search::DfsCopyEngine, and Gecode::Search::DfsReCoEngine.

virtual size_t Gecode::Search::PlainEngine::stacksize void   )  const [pure virtual]
 

Return stack size used by engine.

Implemented in Gecode::Search::DfsCopyEngine, and Gecode::Search::DfsReCoEngine.

void * Gecode::Search::PlainEngine::operator new size_t   )  [inline, static]
 

Allocate memory from heap.

Definition at line 34 of file plain.icc.

void Gecode::Search::PlainEngine::operator delete void *  ,
size_t 
[inline, static]
 

Release memory to heap.

Definition at line 29 of file plain.icc.


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