Gecode::Search::CutoffGeometric Class Reference
[Search engines]
Cutoff generator for the geometric sequence. More...
#include <search.hh>
Public Member Functions | |
CutoffGeometric (unsigned long int scale, double base) | |
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. | |
Protected Attributes | |
double | n |
Current cutoff value. | |
double | scale |
Scale factor. | |
double | base |
Base. |
Detailed Description
Cutoff generator for the geometric sequence.
Definition at line 588 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::CutoffGeometric::CutoffGeometric | ( | unsigned long int | scale, | |
double | base | |||
) | [inline] |
Constructor.
Definition at line 83 of file cutoff.hpp.
Member Function Documentation
unsigned long int Gecode::Search::CutoffGeometric::operator() | ( | void | ) | const [virtual] |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 80 of file cutoff.cpp.
unsigned long int Gecode::Search::CutoffGeometric::operator++ | ( | void | ) | [virtual] |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 84 of file cutoff.cpp.
Member Data Documentation
double Gecode::Search::CutoffGeometric::n [protected] |
double Gecode::Search::CutoffGeometric::scale [protected] |
double Gecode::Search::CutoffGeometric::base [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/cutoff.cpp
- gecode/search/cutoff.hpp