Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members  

cKSplitIterator Class Reference

#include <cksplit.h>

List of all members.

Public Methods

 cKSplitIterator (const cKSplit &_ks, int _beg=1)
void init (const cKSplit &_ks, int _beg=1)
void operator++ (int)
void operator-- (int)
bool end () const
int cellNumber () const
double cellMin () const
double cellMax () const
double cellSize () const
double cellValue () const


Detailed Description

Walks along cells of the distribution stored in a cKSplit object.


Constructor & Destructor Documentation

cKSplitIterator::cKSplitIterator ( const cKSplit & _ks,
int _beg = 1 )
 

Constructor.


Member Function Documentation

double cKSplitIterator::cellMax ( ) const [inline]
 

Returns the upper bound of the current cell.

double cKSplitIterator::cellMin ( ) const [inline]
 

Returns the upper lower of the current cell.

int cKSplitIterator::cellNumber ( ) const [inline]
 

Returns the index of the current cell.

double cKSplitIterator::cellSize ( ) const [inline]
 

Returns the size of the current cell.

double cKSplitIterator::cellValue ( ) const
 

Returns the actual amount of observations in current cell. This is not necessarily an integer value because of previous cell splits.

bool cKSplitIterator::end ( ) const [inline]
 

Returns true if the iterator has reached either end of the cell sequence.

void cKSplitIterator::init ( const cKSplit & _ks,
int _beg = 1 )
 

Reinitializes the iterator.

void cKSplitIterator::operator++ ( int )
 

Moves the iterator to the next cell.

void cKSplitIterator::operator-- ( int )
 

Moves the iterator to the previous cell.


The documentation for this class was generated from the following file:
Generated at Sat May 4 15:45:50 2002 for OMNeT++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001