Gecode::Search::CutoffRepeat Class Reference
[Search engines]
Cutoff generator that repeats a cutoff from another cutoff generator. More...
#include <search.hh>
Public Member Functions | |
| CutoffRepeat (Cutoff *c, 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. | |
| virtual | ~CutoffRepeat (void) |
| Destructor. | |
Protected Attributes | |
| Cutoff * | c |
| Actual cutoff generator. | |
| unsigned int | cutoff |
| unsigned long int | i |
| unsigned long int | n |
Detailed Description
Cutoff generator that repeats a cutoff from another cutoff generator.
Definition at line 680 of file search.hh.
Constructor & Destructor Documentation
| Gecode::Search::CutoffRepeat::CutoffRepeat | ( | Cutoff * | c, | |
| unsigned long int | n | |||
| ) | [inline] |
Constructor.
Definition at line 118 of file cutoff.hpp.
| Gecode::Search::CutoffRepeat::~CutoffRepeat | ( | void | ) | [inline, virtual] |
Destructor.
Definition at line 123 of file cutoff.hpp.
Member Function Documentation
| unsigned long int Gecode::Search::CutoffRepeat::operator() | ( | void | ) | const [virtual] |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 133 of file cutoff.cpp.
| unsigned long int Gecode::Search::CutoffRepeat::operator++ | ( | void | ) | [virtual] |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 137 of file cutoff.cpp.
Member Data Documentation
Cutoff* Gecode::Search::CutoffRepeat::c [protected] |
unsigned int Gecode::Search::CutoffRepeat::cutoff [protected] |
unsigned long int Gecode::Search::CutoffRepeat::i [protected] |
unsigned long int Gecode::Search::CutoffRepeat::n [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh
- gecode/search/cutoff.cpp
- gecode/search/cutoff.hpp
