MeLOn
Loading...
Searching...
No Matches
gpParser.h
Go to the documentation of this file.
1/**********************************************************************************
2* Copyright (c) 2020 Process Systems Engineering (AVT.SVT), RWTH Aachen University
3*
4* This program and the accompanying materials are made available under the
5* terms of the Eclipse Public License 2.0 which is available at
6* http://www.eclipse.org/legal/epl-2.0.
7*
8* SPDX-License-Identifier: EPL-2.0
9*
10* @file gpParser.h
11*
12* @brief File containing declaration of the Gaussian process parser classes.
13*
14**********************************************************************************/
15
16#pragma once
17
18#include <string> // std::string
19#include <vector> // std::vector
20#include <memory> // std::unique_ptr, std::shared_ptr
21
22#include "modelParser.h"
23#include "gpData.h"
24
25namespace melon {
26
31 class GpParser : public ModelParser {
32 public:
33
43 std::shared_ptr<ModelData> parse_model(const std::string modelPath, const std::string modelName) override;
44 };
45
51 public:
52
60 std::unique_ptr<ModelParser> create_model_parser(const MODEL_FILE_TYPE fileType) override;
61 };
62}
This class is a factory class for creating child instances of GpParser.
Definition gpParser.h:50
std::unique_ptr< ModelParser > create_model_parser(const MODEL_FILE_TYPE fileType) override
Factory function for creating a instance of an Gauusian process parser corresponding to the specified...
Definition gpParser.cpp:74
This class implements a Gaussian process file parser.
Definition gpParser.h:31
std::shared_ptr< ModelData > parse_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 Gaussia...
Definition gpParser.cpp:85
This class is a abstract parent class for model parser factories implemented in the MeLOn library.
Definition modelParser.h:108
This class is a abstract parent class for model parser implemented in the MeLOn library.
Definition modelParser.h:40
Definition kernel.h:21
MODEL_FILE_TYPE
Enum for representing the parsable filetypes.
Definition modelParser.h:30