Generated on Tue May 22 09:41:40 2018 for Gecode by doxygen 1.6.3

Gecode::Search::Base< T > Class Template Reference

Base-class for search engines. More...

#include <search.hh>

List of all members.

Public Member Functions

virtual T * next (void)
 Return next solution (NULL, if none exists or search has been stopped).
virtual Statistics statistics (void) const
 Return statistics.
virtual bool stopped (void) const
 Check whether engine has been stopped.
virtual ~Base (void)
 Destructor.

Protected Member Functions

 Base (Engine *e=NULL)
 Constructor.

Protected Attributes

Enginee
 The actual search engine.

Friends

template<class , class >
Enginebuild (Space *, const Options &)
 Build an engine of type E for a script T.
template<class , template< class > class>
Enginebuild (Space *, const Options &)
 Build an engine of type E for a script T.

Detailed Description

template<class T>
class Gecode::Search::Base< T >

Base-class for search engines.

Definition at line 923 of file search.hh.


Constructor & Destructor Documentation

template<class T >
Gecode::Search::Base< T >::Base ( Engine e = NULL  )  [inline, protected]

Constructor.

Definition at line 42 of file base.hpp.

template<class T >
Gecode::Search::Base< T >::~Base ( void   )  [inline, virtual]

Destructor.

Definition at line 61 of file base.hpp.


Member Function Documentation

template<class T >
T * Gecode::Search::Base< T >::next ( void   )  [inline, virtual]

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

Definition at line 46 of file base.hpp.

template<class T >
Statistics Gecode::Search::Base< T >::statistics ( void   )  const [inline, virtual]

Return statistics.

Definition at line 51 of file base.hpp.

template<class T >
bool Gecode::Search::Base< T >::stopped ( void   )  const [inline, virtual]

Check whether engine has been stopped.

Definition at line 56 of file base.hpp.


Friends And Related Function Documentation

template<class T>
template<class , class >
Engine* build ( Space ,
const Options  
) [friend]

Build an engine of type E for a script T.

Build a parametric engine of type E for a script T.

template<class T>
template<class , template< class > class>
Engine* build ( Space ,
const Options  
) [friend]

Build an engine of type E for a script T.

Build a parametric engine of type E for a script T.


Member Data Documentation

template<class T>
Engine* Gecode::Search::Base< T >::e [protected]

The actual search engine.

Definition at line 930 of file search.hh.


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