Gecode::Search::CutoffConstant Class Reference
[Search engines]
Cutoff generator for constant sequence. More...
#include <search.hh>
Public Member Functions | |
CutoffConstant (unsigned long int c) | |
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 | c |
Constant. |
Detailed Description
Cutoff generator for constant sequence.
Definition at line 525 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::CutoffConstant::CutoffConstant | ( | unsigned long int | c | ) | [inline] |
Constructor.
Definition at line 47 of file cutoff.hpp.
Member Function Documentation
unsigned long int Gecode::Search::CutoffConstant::operator() | ( | void | ) | const [virtual] |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 44 of file cutoff.cpp.
unsigned long int Gecode::Search::CutoffConstant::operator++ | ( | void | ) | [virtual] |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 48 of file cutoff.cpp.
Member Data Documentation
unsigned long int Gecode::Search::CutoffConstant::c [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/cutoff.cpp
- gecode/search/cutoff.hpp