Gecode::RBS< E, T > Class Template Reference
[Search engines]
Meta-engine performing restart-based search. More...
#include <search.hh>
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] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 14443)
- gecode/search/rbs.hpp (Revision: 14468)