Biorithm
1.1
|
The improved KK. More...
#include <PatternBounder.h>
Public Member Functions | |
ImprovedBounder () | |
ImprovedBounder (const ImprovedBounder &src) | |
virtual | ~ImprovedBounder () |
virtual ImprovedBounder & | operator= (const ImprovedBounder &rhs) |
virtual double | getUpperBound (const Lattice *lattice, unsigned int curlevel, unsigned int nextlevel) const |
virtual double | getLowerBound (const Lattice *lattice, unsigned int curlevel, unsigned int nextlevel) const |
The improved KK.
The constructor
ImprovedBounder::ImprovedBounder | ( | const ImprovedBounder & | src | ) |
The copy constructor
------------------------------- Parameters ------------------------------- const ImprovedBounder& src The source Bounder
ImprovedBounder::~ImprovedBounder | ( | ) | [virtual] |
Destructor
double ImprovedBounder::getLowerBound | ( | const Lattice * | lattice, |
unsigned int | curlevel, | ||
unsigned int | nextlevel | ||
) | const [virtual] |
Upperbounds the number of patterns at a given level
------------------------------- Parameters ------------------------------- const Lattice* lattice The lattice unsigned int curlevel The level we know unsigned int nextlevel The level that we are trying to bound
--------------------------------- Return --------------------------------- A reference to the bounder
Reimplemented from KKBounder.
double ImprovedBounder::getUpperBound | ( | const Lattice * | lattice, |
unsigned int | curlevel, | ||
unsigned int | nextlevel | ||
) | const [virtual] |
Upperbounds the number of patterns at a given level
------------------------------- Parameters ------------------------------- const Lattice* lattice The lattice unsigned int curlevel The level we know unsigned int nextlevel The level that we are trying to bound
--------------------------------- Return --------------------------------- A reference to the bounder
Reimplemented from KKBounder.
ImprovedBounder & ImprovedBounder::operator= | ( | const ImprovedBounder & | rhs | ) | [virtual] |
Upper bounds the number of candidates at this level
------------------------------- Parameters ------------------------------- const ImprovedBounder& rhs The right hand side
--------------------------------- Return --------------------------------- A reference to the bounder