Gecode::Search::CutoffLinear Class Reference
[Search engines]
Cutoff generator for linear sequence. More...
#include <search.hh>
Public Member Functions | |
CutoffLinear (unsigned long int scale) | |
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 | |
unsigned long int | scale |
Scale factor. | |
unsigned long int | n |
Next number in sequence. |
Detailed Description
Cutoff generator for linear sequence.
Definition at line 542 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::CutoffLinear::CutoffLinear | ( | unsigned long int | scale | ) | [inline] |
Constructor.
Definition at line 52 of file cutoff.hpp.
Member Function Documentation
unsigned long int Gecode::Search::CutoffLinear::operator() | ( | void | ) | const [virtual] |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 54 of file cutoff.cpp.
unsigned long int Gecode::Search::CutoffLinear::operator++ | ( | void | ) | [virtual] |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 58 of file cutoff.cpp.
Member Data Documentation
unsigned long int Gecode::Search::CutoffLinear::scale [protected] |
unsigned long int Gecode::Search::CutoffLinear::n [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/cutoff.cpp
- gecode/search/cutoff.hpp