Walks along cells of the distribution stored in a cKSplit object.
◆ Iterator()
◆ init()
void init |
( |
const cKSplit & |
ksplit, |
|
|
bool |
atbeginning = true |
|
) |
| |
Reinitializes the iterator.
◆ operator++()
Moves the iterator to the next cell.
◆ operator--()
Moves the iterator to the previous cell.
◆ end()
Returns true if the iterator has reached either end of the cell sequence.
◆ getCellNumber()
int getCellNumber |
( |
| ) |
const |
|
inline |
Returns the index of the current cell.
◆ getCellMin()
double getCellMin |
( |
| ) |
const |
|
inline |
Returns the upper lower of the current cell.
◆ getCellMax()
double getCellMax |
( |
| ) |
const |
|
inline |
Returns the upper bound of the current cell.
◆ getCellSize()
double getCellSize |
( |
| ) |
const |
|
inline |
Returns the size of the current cell.
◆ getCellValue()
double getCellValue |
( |
| ) |
const |
Returns the actual amount of observations in current cell. This is not necessarily an integer value because of previous cell splits.
The documentation for this class was generated from the following file: