SedSat3 1.1.6
Sediment Source Apportionment Tool - Advanced statistical methods for environmental pollution research
Loading...
Searching...
No Matches
multiplelinearregressionset.h
Go to the documentation of this file.
1#ifndef MULTIPLELINEARREGRESSIONSET_H
2#define MULTIPLELINEARREGRESSIONSET_H
3
4#include "interface.h"
6
7class MultipleLinearRegressionSet: public map<string,MultipleLinearRegression>, public Interface
8{
9public:
13 string ToString() const override;
14 QJsonObject toJsonObject() const override;
15 bool ReadFromJsonObject(const QJsonObject &jsonobject) override;
16 bool Append(QString key, const MultipleLinearRegression &MLR);
17 void SetSource(const string& source) { Source = source; }
18 QTableWidget *ToTable() override;
19 string Key(int i);
20
21private:
22 string Source;
23};
24
25#endif // MULTIPLELINEARREGRESSIONSET_H
Abstract base class providing common serialization and visualization interface.
Definition interface.h:65
bool ReadFromJsonObject(const QJsonObject &jsonobject) override
Deserialize object from JSON format.
MultipleLinearRegressionSet & operator=(const MultipleLinearRegressionSet &mp)
string ToString() const override
Convert object to string representation.
QTableWidget * ToTable() override
Create a Qt table widget representation of the data.
QJsonObject toJsonObject() const override
Serialize object to JSON format.
void SetSource(const string &source)
bool Append(QString key, const MultipleLinearRegression &MLR)