Generated on Sun Feb 17 15:25:32 2019 for Gecode by doxygen 1.6.3

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

Cutoff generator for linear sequence. More...

#include <search.hh>

List of all members.

Public Member Functions

 CutoffLinear (unsigned long int scale)
 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

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

Detailed Description

Cutoff generator for linear sequence.

Definition at line 542 of file search.hh.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 52 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 54 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 58 of file cutoff.cpp.


Member Data Documentation

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

Scale factor.

Definition at line 545 of file search.hh.

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

Next number in sequence.

Definition at line 547 of file search.hh.


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