Generated on Tue Apr 18 10:24:04 2017 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 288 of file search.hh.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 87 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 291 of file search.hh.

Scale factor.

Definition at line 293 of file search.hh.

Base.

Definition at line 295 of file search.hh.


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