Generated on Mon Jun 29 2015 17:25:32 for Gecode by doxygen 1.8.5
Gecode::Search::CutoffMerge Class Reference

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...
 
- Public Member Functions inherited from Gecode::Search::Cutoff
 Cutoff (void)
 Default constructor. More...
 
virtual ~Cutoff (void)
 Destructor. More...
 

Protected Attributes

Cutoff * c1
 First cutoff generator. More...
 
Cutoff * c2
 Second cutoff generator. More...
 

Detailed Description

Cutoff generator merging two cutoff generators.

Definition at line 362 of file search.hh.

Constructor & Destructor Documentation

Gecode::Search::CutoffMerge::CutoffMerge ( Cutoff *  c1,
Cutoff *  c2 
)
inline

Constructor.

Definition at line 121 of file cutoff.hpp.

Gecode::Search::CutoffMerge::~CutoffMerge ( void  )
inlinevirtual

Destructor.

Definition at line 124 of file cutoff.hpp.

Member Function Documentation

unsigned long int Gecode::Search::CutoffMerge::operator() ( void  ) const
virtual

Return the current cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 125 of file cutoff.cpp.

unsigned long int Gecode::Search::CutoffMerge::operator++ ( void  )
virtual

Increment and return the next cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 129 of file cutoff.cpp.

Member Data Documentation

Cutoff* Gecode::Search::CutoffMerge::c1
protected

First cutoff generator.

Definition at line 365 of file search.hh.

Cutoff* Gecode::Search::CutoffMerge::c2
protected

Second cutoff generator.

Definition at line 367 of file search.hh.


The documentation for this class was generated from the following files: