void GEP::Core::Float::TimeSeries::ITimeSeries::ReadFileAndAddToAlphabet ( Alphabet  variablesSet,
ref int  variablesSetStartIndex,
string  filePath,
int  variableDisplayIndex,
string  variableName 
)

Reads a time series from a file and adds the result to an Alphabet of Variables.

Parameters:
variablesSet The set where variables will be added.
variablesSetStartIndex The starting index of added variables.
filePath The path to the file with the time series.
variableDisplayIndex The displayed index following the name of the variable.
variableName Name of the variable.

Every time series has a time frame/period. This is the distance in time between different records in the series.

Consider the following series 1, 2, 3, 4, ...,

We start reading the series from 8 (This value is set in the time series file or as a member variable in classes inheriting this interface).

We read 4 records long series, which is also defined in the inheritors of this interface.

The added variable will have cases:

{8, 9, 10, 11}.

Implemented in GEP::Core::Float::TimeSeries::InterestRateTimeSeries, and GEP::Core::Float::TimeSeries::NormalTimeSeries.

GEP .NET Framwork Main Page
SourceForge.net Logo