Cutoff generator merging two cutoff generators. More...
#include <search.hh>
Public Member Functions | |
CutoffMerge (Cutoff *c1, Cutoff *c2) | |
Constructor. More... | |
virtual unsigned long int | operator() (void) const |
Return the current cutoff value. More... | |
virtual unsigned long int | operator++ (void) |
Increment and return the next cutoff value. More... | |
virtual | ~CutoffMerge (void) |
Destructor. More... | |
![]() | |
Cutoff (void) | |
Default constructor. More... | |
virtual | ~Cutoff (void) |
Destructor. More... | |
Protected Attributes | |
Cutoff * | c1 |
First cutoff generator. More... | |
Cutoff * | c2 |
Second cutoff generator. More... | |
Constructor.
Definition at line 121 of file cutoff.hpp.
|
inlinevirtual |
Destructor.
Definition at line 124 of file cutoff.hpp.
|
virtual |
Return the current cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 125 of file cutoff.cpp.
|
virtual |
Increment and return the next cutoff value.
Implements Gecode::Search::Cutoff.
Definition at line 129 of file cutoff.cpp.
|
protected |
|
protected |