21#ifndef __ANTARES_SOLVER_TS_GENERATOR_XCAST_STUDY_DATA_HXX__
22#define __ANTARES_SOLVER_TS_GENERATOR_XCAST_STUDY_DATA_HXX__
26#include <antares/logs/logs.h>
27#include <antares/study/study.h>
28#include <antares/study/xcast/xcast.h>
30namespace Antares::TSGenerator::XCast
32template<
class PredicateT>
35 PredicateT& predicate)
41 for (
auto i = study.areas.begin(); i != study.areas.end(); ++i)
43 auto& area = *(i->second);
44 if (predicate.accept(area))
47 logs.info() <<
" Added the area '" << area.name <<
"'";
Definition correlation.h:35
Data::Area::Vector localareas
List of all areas (sub-set of the complete list)
Definition studydata.h:78
std::array< Matrix< float >, 12 > correlation
Correlation coefficients for each month.
Definition studydata.h:80
void loadFromStudy(Data::Study &study, const Data::Correlation &correlation, PredicateT &predicate)
Load all informations from a study and a predicate.
Definition studydata.hxx:33