Temporary buffer for allocating results for a single year. More...
#include <intermediate.h>
Public Types | |
typedef double | Type |
Basic type. | |
Public Member Functions | |
Constructor & Destructor | |
IntermediateValues () | |
Constructor. | |
~IntermediateValues () | |
Destructor. | |
void | initializeFromStudy (Data::Study &study) |
void | reset () |
Reset all values. | |
void | computeStatisticsForTheCurrentYear () |
Compute statistics for the current year. | |
void | computeStatisticsOrForTheCurrentYear () |
Compute statistics for the current year. | |
void | computeStatisticsAdequacyForTheCurrentYear () |
Compute statistics for the current year. | |
void | computeAveragesForCurrentYearFromHourlyResults () |
void | computeAveragesForCurrentYearFromDailyResults () |
void | computeAveragesForCurrentYearFromWeeklyResults () |
void | computeProbabilitiesForTheCurrentYear () |
Compute probabilities for the current year. | |
void | adjustValuesWhenRelatedToAPrice () |
Make another calculations when values are related to a price. | |
void | adjustValuesAdequacyWhenRelatedToAPrice () |
Make another calculations when values are related to a price. | |
User reports | |
template<class VCardT > | |
void | buildAnnualSurveyReport (SurveyResults &report, int fileLevel, int precision) const |
Operators | |
Antares::Data::StudyRangeLimits * | pRange |
Range. | |
Antares::Date::Calendar * | calendar |
Calendar, from the study, but dedicated to the output (with leap year) | |
Antares::Data::StudyRuntimeInfos * | pRuntimeInfo |
Range. | |
Type | month [MONTHS_PER_YEAR] |
Values for each month. | |
Type | week [WEEKS_PER_YEAR] |
Values for each week. | |
Type | day [DAYS_PER_YEAR] |
Values for each day in the year. | |
Antares::Memory::Stored< Type >::Type | hour |
Values for each hour in the year. | |
Type | year |
Year. | |
Type & | operator[] (const uint index) |
Vector alias for an hour in the year. | |
const Type & | operator[] (const uint index) const |
template<uint Size, class VCardT , class A > | |
void | internalExportAnnualValues (SurveyResults &report, const A &array, bool annual) const |
void | computeDailyAveragesForCurrentYear () |
void | computeWeeklyAveragesForCurrentYear () |
void | computeMonthlyAveragesForCurrentYear () |
void | computeYearlyAveragesForCurrentYear () |
Temporary buffer for allocating results for a single year.
This class is mostly used by economic variables for storing their data for a single year.