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 634 of file search.hh.
Constructor & Destructor Documentation
Gecode::Search::CutoffAppend::CutoffAppend | ( | Cutoff * | c1, | |
unsigned long int | n, | |||
Cutoff * | c2 | |||
) | [inline] |
Constructor.
Definition at line 100 of file cutoff.hpp.
Gecode::Search::CutoffAppend::~CutoffAppend | ( | void | ) | [inline, virtual] |
Destructor.
Definition at line 103 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 102 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 110 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
- gecode/search/cutoff.cpp
- gecode/search/cutoff.hpp