Cutoff generator for the random sequence.
More...
#include <search.hh>
|
| CutoffRandom (unsigned int seed, unsigned long int min, unsigned long int max, unsigned long int n) |
| Constructor.
|
virtual unsigned long int | operator() (void) const |
| Return the current cutoff value.
|
virtual unsigned long int | operator++ (void) |
| Increment and return the next cutoff value.
|
| Cutoff (void) |
| Default constructor.
|
virtual | ~Cutoff (void) |
| Destructor.
|
|
Support::RandomGenerator | rnd |
| Random number generator.
|
unsigned long int | min |
| Minimum cutoff value.
|
unsigned long int | n |
| Random values.
|
unsigned long int | step |
| Step size.
|
unsigned long int | cur |
| Current value.
|
Cutoff generator for the random sequence.
Definition at line 609 of file search.hh.
◆ CutoffRandom()
Gecode::Search::CutoffRandom::CutoffRandom |
( |
unsigned int | seed, |
|
|
unsigned long int | min, |
|
|
unsigned long int | max, |
|
|
unsigned long int | n ) |
|
inline |
◆ operator()()
unsigned long int Gecode::Search::CutoffRandom::operator() |
( |
void | | ) |
const |
|
virtual |
◆ operator++()
unsigned long int Gecode::Search::CutoffRandom::operator++ |
( |
void | | ) |
|
|
virtual |
◆ rnd
Random number generator.
Definition at line 612 of file search.hh.
◆ min
unsigned long int Gecode::Search::CutoffRandom::min |
|
protected |
Minimum cutoff value.
Definition at line 614 of file search.hh.
unsigned long int Gecode::Search::CutoffRandom::n |
|
protected |
◆ step
unsigned long int Gecode::Search::CutoffRandom::step |
|
protected |
◆ cur
unsigned long int Gecode::Search::CutoffRandom::cur |
|
protected |
The documentation for this class was generated from the following files: