Base class for cutoff generators for restart-based meta engine.
More...
#include <gecode/search.hh>
|
| | Cutoff (void) |
| | Default constructor.
|
| virtual unsigned long long int | operator() (void) const =0 |
| | Return the current cutoff value.
|
| virtual unsigned long long int | operator++ (void)=0 |
| | Increment and return the next cutoff value.
|
| virtual | ~Cutoff (void) |
| | Destructor.
|
Base class for cutoff generators for restart-based meta engine.
Definition at line 476 of file search.hh.
◆ Cutoff()
| Gecode::Search::Cutoff::Cutoff |
( |
void | | ) |
|
|
inline |
Default constructor.
Definition at line 41 of file cutoff.hpp.
◆ ~Cutoff()
| Gecode::Search::Cutoff::~Cutoff |
( |
void | | ) |
|
|
inlinevirtual |
◆ operator()()
| virtual unsigned long long int Gecode::Search::Cutoff::operator() |
( |
void | | ) |
const |
|
pure virtual |
◆ operator++()
| virtual unsigned long long int Gecode::Search::Cutoff::operator++ |
( |
void | | ) |
|
|
pure virtual |
◆ constant()
Create generator for constant sequence with constant s.
◆ linear()
Create generator for linear sequence scaled by scale.
◆ geometric()
Create generator for geometric sequence scaled by scale using base base
◆ luby()
Create generator for luby sequence with scale-factor scale.
◆ rnd()
| Cutoff * Gecode::Search::Cutoff::rnd |
( |
unsigned int | seed, |
|
|
unsigned long long int | min, |
|
|
unsigned long long int | max, |
|
|
unsigned long long int | n ) |
|
static |
Create generator for random sequence with seed seed that generates values between min and max with n steps between the extreme values.
◆ append()
| Cutoff * Gecode::Search::Cutoff::append |
( |
Cutoff * | c1, |
|
|
unsigned long long int | n, |
|
|
Cutoff * | c2 ) |
|
static |
Append cutoff values from c2 after n values from c1.
◆ merge()
Merge cutoff values from c1 with values from c2.
◆ repeat()
| Cutoff * Gecode::Search::Cutoff::repeat |
( |
Cutoff * | c, |
|
|
unsigned long long int | n ) |
|
static |
Create generator that repeats n times each cutoff value from c.
The documentation for this class was generated from the following files: