Generated on Thu Jan 14 2016 02:26:33 for Gecode by doxygen 1.8.5
Gecode::Search::CutoffGeometric Class Reference

Cutoff generator for the geometric sequence. More...

#include <search.hh>

Public Member Functions

 CutoffGeometric (unsigned long int scale, double base)
 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

double n
 Current cutoff value. More...
 
double scale
 Scale factor. More...
 
double base
 Base. More...
 

Detailed Description

Cutoff generator for the geometric sequence.

Definition at line 291 of file search.hh.

Constructor & Destructor Documentation

Gecode::Search::CutoffGeometric::CutoffGeometric ( unsigned long int  scale,
double  base 
)
inline

Constructor.

Definition at line 95 of file cutoff.hpp.

Member Function Documentation

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

Return the current cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 84 of file cutoff.cpp.

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

Increment and return the next cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 88 of file cutoff.cpp.

Member Data Documentation

double Gecode::Search::CutoffGeometric::n
protected

Current cutoff value.

Definition at line 294 of file search.hh.

double Gecode::Search::CutoffGeometric::scale
protected

Scale factor.

Definition at line 296 of file search.hh.

double Gecode::Search::CutoffGeometric::base
protected

Base.

Definition at line 298 of file search.hh.


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