Main Page | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

CLUS::DynamicBuffer Class Reference

Class to keep data temporarily that can grow automatically, only doubles can be stored inside. More...

#include <dynamicbuffer.h>


Public Member Functions

 DynamicBuffer (int NumCols)
int dim (void)
double * operator[] (int index)
double * begin (void)
double * next (void)
double * end (void)
 ~DynamicBuffer (void)

Protected Attributes

int numcols
int numrows
 actual number of rows

int pos
 current position

int maxrows
 maximum number of rows allocated so far

double * data
 the storage


Detailed Description

Class to keep data temporarily that can grow automatically, only doubles can be stored inside.

Definition at line 44 of file dynamicbuffer.h.


Constructor & Destructor Documentation

CLUS::DynamicBuffer::DynamicBuffer int  NumCols  )  [inline]
 

Definition at line 62 of file dynamicbuffer.h.

CLUS::DynamicBuffer::~DynamicBuffer void   )  [inline]
 

Definition at line 108 of file dynamicbuffer.h.


Member Function Documentation

double* CLUS::DynamicBuffer::begin void   )  [inline]
 

Definition at line 93 of file dynamicbuffer.h.

Referenced by CLUS::BinaryRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::EMStep(), and CLUS::BinaryProbabilisticRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::EMStep().

int CLUS::DynamicBuffer::dim void   )  [inline]
 

Definition at line 71 of file dynamicbuffer.h.

Referenced by CLUS::BinaryProbabilisticRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::StopLearningEpoch().

double* CLUS::DynamicBuffer::end void   )  [inline]
 

Definition at line 103 of file dynamicbuffer.h.

Referenced by CLUS::BinaryRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::EMStep(), and CLUS::BinaryProbabilisticRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::EMStep().

double* CLUS::DynamicBuffer::next void   )  [inline]
 

Definition at line 98 of file dynamicbuffer.h.

Referenced by CLUS::BinaryRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::LearnSample(), and CLUS::BinaryProbabilisticRegressionTreeNode< T_Distribution, T_Regressor, T_Splitter >::LearnSample().

double* CLUS::DynamicBuffer::operator[] int  index  )  [inline]
 

Definition at line 76 of file dynamicbuffer.h.


Field Documentation

double* CLUS::DynamicBuffer::data [protected]
 

the storage

Definition at line 59 of file dynamicbuffer.h.

Referenced by begin(), DynamicBuffer(), end(), operator[](), and ~DynamicBuffer().

int CLUS::DynamicBuffer::maxrows [protected]
 

maximum number of rows allocated so far

Definition at line 56 of file dynamicbuffer.h.

Referenced by DynamicBuffer(), and operator[]().

int CLUS::DynamicBuffer::numcols [protected]
 

Definition at line 47 of file dynamicbuffer.h.

Referenced by DynamicBuffer(), end(), and operator[]().

int CLUS::DynamicBuffer::numrows [protected]
 

actual number of rows

Definition at line 50 of file dynamicbuffer.h.

Referenced by dim(), DynamicBuffer(), end(), and operator[]().

int CLUS::DynamicBuffer::pos [protected]
 

current position

Definition at line 53 of file dynamicbuffer.h.

Referenced by DynamicBuffer(), and next().


The documentation for this class was generated from the following file:
Generated on Mon Jul 21 16:57:48 2003 for SECRET by doxygen 1.3.2