Generated on Wed Dec 13 2017 05:48:47 for Gecode by doxygen 1.8.5
Gecode::Search::CutoffLinear Class Reference

Cutoff generator for linear sequence. More...

#include <search.hh>

Public Member Functions

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

Protected Attributes

unsigned long int scale
 Scale factor. More...
 
unsigned long int n
 Next number in sequence. More...
 

Detailed Description

Cutoff generator for linear sequence.

Definition at line 245 of file search.hh.

Constructor & Destructor Documentation

Gecode::Search::CutoffLinear::CutoffLinear ( unsigned long int  scale)
inline

Constructor.

Definition at line 64 of file cutoff.hpp.

Member Function Documentation

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

Return the current cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 58 of file cutoff.cpp.

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

Increment and return the next cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 62 of file cutoff.cpp.

Member Data Documentation

unsigned long int Gecode::Search::CutoffLinear::scale
protected

Scale factor.

Definition at line 248 of file search.hh.

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

Next number in sequence.

Definition at line 250 of file search.hh.


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