MeLOn
Loading...
Searching...
No Matches
melon::GpParser Class Reference

This class implements a Gaussian process file parser. More...

#include <gpParser.h>

Inheritance diagram for melon::GpParser:
melon::ModelParser

Public Member Functions

std::shared_ptr< ModelDataparse_model (const std::string modelPath, const std::string modelName) override
 Abstract function for defining the structure of the parsing function which is used to get the Gaussian process data from a file.
 
- Public Member Functions inherited from melon::ModelParser
virtual ~ModelParser ()=default
 Virtual desctructor to enable inheritance.
 

Additional Inherited Members

- Protected Member Functions inherited from melon::ModelParser
std::string _format_file_path (const std::string modelPath, const std::string modelName, const MODEL_FILE_TYPE fileType)
 Applies the correct format to the path given by the user.
 
std::string _format_folder_path (const std::string modelPath)
 Applies the correct format to the path given by the user.
 
- Static Protected Member Functions inherited from melon::ModelParser
static SCALER_TYPE _string_to_scaler_type (const std::string scalerTypeName)
 Turns a string containing the name of an scaler type in the correct enum representation.
 
static SCALER_PARAMETER _string_to_scaler_parameter (const std::string scalerParameterName)
 Turns a string containing the name of an scaler type in the correct enum representation.
 
- Protected Attributes inherited from melon::ModelParser
std::string _modelPath
 
std::string _modelName
 

Detailed Description

This class implements a Gaussian process file parser.

Member Function Documentation

◆ parse_model()

std::shared_ptr< ModelData > GpParser::parse_model ( const std::string modelPath,
const std::string modelName )
overridevirtual

Abstract function for defining the structure of the parsing function which is used to get the Gaussian process data from a file.

Parameters
[in]modelPathPath to the location of the Gaussian process file
[in]modelNamename of the network (either foldername in which csv files are stored or name of an xml file, depending on the filetype)
Returns
pointer to modelData struct containing the information defining the Gaussian process

Implements melon::ModelParser.


The documentation for this class was generated from the following files: