#include <cksplit.h>
Public Methods | |
Iterator (const cKSplit &ksplit, bool atbeginning=true) | |
void | init (const cKSplit &ksplit, bool atbeginning=true) |
void | operator++ (int) |
void | operator-- (int) |
bool | end () const |
int | cellNumber () const |
double | cellMin () const |
double | cellMax () const |
double | cellSize () const |
double | cellValue () const |
|
Constructor. |
|
Returns the upper bound of the current cell. |
|
Returns the upper lower of the current cell. |
|
Returns the index of the current cell. |
|
Returns the size of the current cell. |
|
Returns the actual amount of observations in current cell. This is not necessarily an integer value because of previous cell splits. |
|
Returns true if the iterator has reached either end of the cell sequence. |
|
Reinitializes the iterator. |
|
Moves the iterator to the next cell. |
|
Moves the iterator to the previous cell. |