Generated on Fri Mar 20 15:57:08 2015 for Gecode by doxygen 1.6.3

Gecode::Search::CutoffGeometric Class Reference
[Search engines]

Cutoff generator for the geometric sequence. More...

#include <search.hh>

List of all members.

Public Member Functions

 CutoffGeometric (unsigned long int scale, double base)
 Constructor.
virtual unsigned long int operator() (void) const
 Return the current cutoff value.
virtual unsigned long int operator++ (void)
 Increment and return the next cutoff value.

Protected Attributes

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

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

Current cutoff value.

Definition at line 294 of file search.hh.

Scale factor.

Definition at line 296 of file search.hh.

Base.

Definition at line 298 of file search.hh.


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