Generated on Fri Mar 20 15:56:49 2015 for Gecode by doxygen 1.6.3

Gecode::RBS< E, T > Class Template Reference
[Search engines]

Meta-engine performing restart-based search. More...

#include <search.hh>

List of all members.

Public Member Functions

 RBS (T *s, const Search::Options &o)
 Initialize engine for space s and options o.

Detailed Description

template<template< class > class E, class T>
class Gecode::RBS< E, T >

Meta-engine performing restart-based search.

The engine uses the Cutoff sequence supplied in the options o to periodically restart the search of engine E.

The class T can implement member functions

 virtual bool master(const CRI& cri) 

and

 virtual bool slave(const CRI& cri) 

Whenever exploration restarts or a solution is found, the engine executes the functions on the master and slave space. For more details, consult "Modeling and Programming with Gecode".

Definition at line 755 of file search.hh.


Constructor & Destructor Documentation

template<template< class > class E, class T >
Gecode::RBS< E, T >::RBS ( T *  s,
const Search::Options o 
) [inline]

Initialize engine for space s and options o.

Definition at line 47 of file rbs.hpp.


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