Generated on Sat Feb 9 2019 14:02:12 for Gecode by doxygen 1.8.5
Gecode::Search::CutoffRepeat Class Reference

Cutoff generator that repeats a cutoff from another cutoff generator. More...

#include <search.hh>

Public Member Functions

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

Protected Attributes

Cutoffc
 Actual cutoff generator. More...
 
unsigned int cutoff
 
unsigned long int i
 
unsigned long int n
 

Detailed Description

Cutoff generator that repeats a cutoff from another cutoff generator.

Definition at line 383 of file search.hh.

Constructor & Destructor Documentation

Gecode::Search::CutoffRepeat::CutoffRepeat ( Cutoff c,
unsigned long int  n 
)
inline

Constructor.

Definition at line 130 of file cutoff.hpp.

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

Destructor.

Definition at line 135 of file cutoff.hpp.

Member Function Documentation

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

Return the current cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 137 of file cutoff.cpp.

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

Increment and return the next cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 141 of file cutoff.cpp.

Member Data Documentation

Cutoff* Gecode::Search::CutoffRepeat::c
protected

Actual cutoff generator.

Definition at line 386 of file search.hh.

unsigned int Gecode::Search::CutoffRepeat::cutoff
protected

Definition at line 388 of file search.hh.

unsigned long int Gecode::Search::CutoffRepeat::i
protected

Definition at line 390 of file search.hh.

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

Definition at line 392 of file search.hh.


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