Generated on Thu Jul 6 07:06:59 2006 for Gecode by doxygen 1.4.7

Gecode::LDS< T > Class Template Reference
[Search engines]

#include <search.hh>

Inherits Gecode::Search::LDS.

List of all members.


Detailed Description

template<class T>
class Gecode::LDS< T >

Limited discrepancy search engine.

Definition at line 483 of file search.hh.

Public Member Functions

 LDS (T *s, unsigned int d, Search::Stop *st=NULL)
 Initialize engine.
T * next (void)
 Return next solution (NULL, if none exists or search has been stopped).


Constructor & Destructor Documentation

template<class T>
Gecode::LDS< T >::LDS ( T *  s,
unsigned int  d,
Search::Stop st = NULL 
) [inline]

Initialize engine.

Parameters:
s root node (subclass T of Space)
d maximal discrepancy
st Stop-object

Definition at line 31 of file lds.icc.


Member Function Documentation

template<class T>
T * Gecode::LDS< T >::next ( void   )  [inline]

Return next solution (NULL, if none exists or search has been stopped).

Reimplemented from Gecode::Search::LDS.

Definition at line 37 of file lds.icc.


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