Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

MonthlyDataSet Class Reference

Contains data that has month information. More...

#include <prediction.h>

List of all members.

Public Methods

 MonthlyDataSet ()
 MonthlyDataSet (const Matrix &matrix, int dateYYMM=0, int lag=0)
Ref< MonthlyDataSet > sub (int row0, int row1, int col0, int col1) const
int lag () const
void setLag (int lag)
int firstMonth0 () const
void setFirstMonth0 (int m0)


Detailed Description

Contains data that has month information.

Definition at line 53 of file prediction.h.


Constructor & Destructor Documentation

MonthlyDataSet   [inline]
 

Default constructor.

Definition at line 57 of file prediction.h.

Referenced by sub().

MonthlyDataSet const Matrix &    matrix,
int    dateYYMM = 0,
int    lag = 0
[inline]
 

Typical constructor for the monthly data set.

Definition at line 60 of file prediction.h.

References lag(), mFirstMonth0, mFirstYear, and mLag.


Member Function Documentation

int firstMonth0   const [inline]
 

Returns the zero-based number of the first month in the data set.

Definition at line 82 of file prediction.h.

int lag   const [inline]
 

Returns number of lag months for prediction.

Definition at line 76 of file prediction.h.

Referenced by MonthlyDataSet(), and setLag().

void setFirstMonth0 int    m0 [inline]
 

Sets the zero-based number of the first month in the data set.

Definition at line 85 of file prediction.h.

void setLag int    lag [inline]
 

Sets number of lag months for prediction.

Definition at line 79 of file prediction.h.

References lag().

Ref< MonthlyDataSet > sub int    row0,
int    row1,
int    col0,
int    col1
const
 

Returns a subset of the data set.

Definition at line 50 of file prediction.cc.

References MonthlyDataSet().


The documentation for this class was generated from the following files:
Generated on Thu Feb 10 20:06:45 2005 for Inanna by doxygen1.2.18