Generated on Tue Oct 22 2013 00:49:18 for Gecode by doxygen 1.8.4
Gecode::Search::CutoffGeometric Class Reference

Cutoff generator for the geometric sequence. More...

#include <cutoff.hpp>

Public Member Functions

virtual unsigned long int operator() (void)
 Return next cutoff value. More...
 
- Public Member Functions inherited from Gecode::Search::Cutoff
 Cutoff (void)
 Default constructor. More...
 
virtual ~Cutoff (void)
 Destructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Search::Cutoff
static Cutoffconstant (unsigned long int scale=1U)
 Create generator for constant sequence with constant s. More...
 
static Cutofflinear (unsigned long int scale=1U)
 Create generator for linear sequence scaled by scale. More...
 
static Cutoffgeometric (unsigned long int scale=1U, double base=1.5)
 
static Cutoffluby (unsigned long int scale=1U)
 Create generator for luby sequence with scale-factor scale. More...
 
static Cutoffrnd (unsigned int seed, unsigned long int min, unsigned long int max, unsigned long int n)
 
static Cutoffappend (Cutoff *c1, unsigned long int n, Cutoff *c2)
 Append cutoff values from c2 after n values from c1. More...
 
static void * operator new (size_t s)
 Allocate memory from heap. More...
 
static void operator delete (void *p)
 Free memory allocated from heap. More...
 

Detailed Description

Cutoff generator for the geometric sequence.

Definition at line 96 of file cutoff.hpp.

Member Function Documentation

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

Return next cutoff value.

Implements Gecode::Search::Cutoff.

Definition at line 104 of file cutoff.cpp.


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