OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
IBase.h
Go to the documentation of this file.
1#pragma once
2#ifndef IBase
3#include <string>
4using namespace std;
5class IBase
6{
7protected:
8 std::string scriptName;
9
10public:
11 virtual int setDataset(std::list<std::vector<double>> d) = 0;
12 virtual int train() = 0;
13 virtual int predict(std::list<std::vector<double>> d) = 0;
14 virtual void getModel() = 0;
15
16 IBase(const std::string scriptName) {
17 this->scriptName.assign(scriptName);
18 }
19};
20
21#endif
Definition IBase.h:6
virtual int setDataset(std::list< std::vector< double > > d)=0
virtual int predict(std::list< std::vector< double > > d)=0
virtual int train()=0
IBase(const std::string scriptName)
Definition IBase.h:16
std::string scriptName
Definition IBase.h:8
virtual void getModel()=0
STL namespace.