Generated on Thu Jan 19 2023 00:00:00 for Gecode by doxygen 1.9.6
Gecode::Search::PbsBuilder< T, E > Class Template Reference

A PBS engine builder. More...

#include <pbs.hpp>

Public Member Functions

 PbsBuilder (const Options &opt)
 The constructor.
 
virtual Engine * operator() (Space *s) const
 The actual build function.
 
- Public Member Functions inherited from Gecode::Search::Builder
 Builder (const Options &opt, bool best)
 Initialize with options opt and best solution search support.
 
Options & options (void)
 Provide access to options.
 
const Options & options (void) const
 Provide access to options.
 
bool best (void) const
 Whether engine is a best solution search engine.
 
virtual Engine * operator() (Space *s) const =0
 Build an engine according to stored options for s.
 
virtual ~Builder (void)
 Destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::HeapAllocated
static void * operator new (size_t s)
 Memory management.
 
static void operator delete (void *p)
 Free memory allocated from heap.
 
- Protected Attributes inherited from Gecode::Search::Builder
Options opt
 Stored and already expanded options.
 
const bool b
 Whether engine to be built is a best solution search engine.
 

Detailed Description

template<class T, template< class > class E>
class Gecode::Search::PbsBuilder< T, E >

A PBS engine builder.

Definition at line 41 of file pbs.hpp.

Constructor & Destructor Documentation

◆ PbsBuilder()

template<class T , template< class > class E>
Gecode::Search::PbsBuilder< T, E >::PbsBuilder ( const Options &  opt)
inline

The constructor.

Definition at line 52 of file pbs.hpp.

Member Function Documentation

◆ operator()()

template<class T , template< class > class E>
Engine * Gecode::Search::PbsBuilder< T, E >::operator() ( Space *  s) const
virtual

The actual build function.

Implements Gecode::Search::Builder.

Definition at line 57 of file pbs.hpp.


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