Gecode::Search::CutoffAppend Class Reference
[Search engines]
Cutoff generator appending two cutoff generators. More...
#include <search.hh>
Public Member Functions | |
CutoffAppend (Cutoff *c1, unsigned long int n, Cutoff *c2) | |
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 | ~CutoffAppend (void) |
Destructor. | |
Protected Attributes | |
Cutoff * | c1 |
First cutoff generators. | |
Cutoff * | c2 |
Second cutoff generators. | |
unsigned long int | n |
How many number to take from the first. |
Detailed Description
Cutoff generator appending two cutoff generators.
Definition at line 339 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::CutoffAppend::CutoffAppend | ( | Cutoff * | c1, | |
unsigned long int | n, | |||
Cutoff * | c2 | |||
) | [inline] |
Constructor.
Definition at line 112 of file cutoff.hpp.
Gecode::Search::CutoffAppend::~CutoffAppend | ( | void | ) | [inline, virtual] |
Destructor.
Definition at line 115 of file cutoff.hpp.
Member Function Documentation
unsigned long int Gecode::Search::CutoffAppend::operator() | ( | void | ) | const [virtual] |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 106 of file cutoff.cpp.
unsigned long int Gecode::Search::CutoffAppend::operator++ | ( | void | ) | [virtual] |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 114 of file cutoff.cpp.
Member Data Documentation
Cutoff* Gecode::Search::CutoffAppend::c1 [protected] |
Cutoff* Gecode::Search::CutoffAppend::c2 [protected] |
unsigned long int Gecode::Search::CutoffAppend::n [protected] |
The documentation for this class was generated from the following files:
- gecode/search.hh (Revision: 14443)
- gecode/search/cutoff.cpp (Revision: 14471)
- gecode/search/cutoff.hpp (Revision: 14434)