Generated on Wed Mar 25 2020 20:18:25 for Gecode by doxygen 1.8.5
Gecode::Search::CutoffAppend Class Reference

Cutoff generator appending two cutoff generators. More...

#include <search.hh>

Public Member Functions

 CutoffAppend (Cutoff *c1, unsigned long int n, 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 ~CutoffAppend (void)
 Destructor. More...
 
- Public Member Functions inherited from Gecode::Search::Cutoff
 Cutoff (void)
 Default constructor. More...
 
virtual ~Cutoff (void)
 Destructor. More...
 

Protected Attributes

Cutoffc1
 First cutoff generators. More...
 
Cutoffc2
 Second cutoff generators. More...
 
unsigned long int n
 How many number to take from the first. More...
 

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  )
inlinevirtual

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

First cutoff generators.

Definition at line 342 of file search.hh.

Cutoff* Gecode::Search::CutoffAppend::c2
protected

Second cutoff generators.

Definition at line 344 of file search.hh.

unsigned long int Gecode::Search::CutoffAppend::n
protected

How many number to take from the first.

Definition at line 346 of file search.hh.


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