38 #ifndef __DATAMANAGERWITHSURROGATES_H_
39 #define __DATAMANAGERWITHSURROGATES_H_
41 #include "DataManager.h"
60 typedef Representer<T> RepresenterType;
62 typedef typename RepresenterType::DatasetPointerType DatasetPointerType;
63 typedef typename RepresenterType::DatasetConstPointerType DatasetConstPointerType;
66 typedef DataItemWithSurrogates<T> DataItemWithSurrogatesType;
68 typedef typename DataItemWithSurrogatesType::SurrogateTypeVectorType SurrogateTypeVectorType;
70 struct SurrogateTypeInfoType {
71 SurrogateTypeVectorType types;
72 std::string typeFilename;
100 const std::string& datasetURI,
101 const std::string& surrogateFilename);
107 return m_typeInfo.types;
112 return m_typeInfo.typeFilename;
136 SurrogateTypeInfoType m_typeInfo;
141 #include "DataManagerWithSurrogates.hxx"
void LoadSurrogateTypes(const std::string &filename)
Definition: DataManagerWithSurrogates.hxx:64
std::string GetSurrogateTypeFilename() const
Definition: DataManagerWithSurrogates.h:111
Manages Training and Test Data for building Statistical Models and provides functionality for Crossva...
Definition: DataManager.h:114
Manages Training and Test Data for building Statistical Models and provides functionality for Crossva...
Definition: DataManagerWithSurrogates.h:56
A trivial representer, that does no representation at all, but works directly with vectorial data...
Definition: TrivialVectorialRepresenter.h:83
static DataManagerWithSurrogates< T > * Create(const RepresenterType *representer, const std::string &surrogTypeFilename)
Definition: DataManagerWithSurrogates.h:86
virtual ~DataManagerWithSurrogates()
Definition: DataManagerWithSurrogates.h:79
SurrogateTypeInfoType GetSurrogateTypeInfo() const
Definition: DataManagerWithSurrogates.h:116
void AddDatasetWithSurrogates(DatasetConstPointerType ds, const std::string &datasetURI, const std::string &surrogateFilename)
Definition: DataManagerWithSurrogates.hxx:79
SurrogateTypeVectorType GetSurrogateTypes() const
Definition: DataManagerWithSurrogates.h:106