Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

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 551 of file search.hh.


Public Member Functions

 LDS (T *s, unsigned int d, const Search::Options &o=Search::Options::def)
 Initialize engine with s as root node and maximal discrepancy d.
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,
const Search::Options o = Search::Options::def 
) [inline]

Initialize engine with s as root node and maximal discrepancy d.

Definition at line 47 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 53 of file lds.icc.


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