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// SedSAT3 – Sediment Source Assessment Tool, version 3
2// U.S. Geological Survey. See LICENSE.md and DISCLAIMER.md in the repository root.
3
4#ifndef MULTIPLELINEARREGRESSIONSET_H
5#define MULTIPLELINEARREGRESSIONSET_H
6
7#include "interface.h"
9
10class MultipleLinearRegressionSet: public map<string,MultipleLinearRegression>, public Interface
11{
12public:
16 string ToString() const override;
17 QJsonObject toJsonObject() const override;
18 bool ReadFromJsonObject(const QJsonObject &jsonobject) override;
19 bool Append(const QString& key, const MultipleLinearRegression &MLR);
20 void SetSource(const string& source) { Source = source; }
21 QTableWidget *ToTable() override;
22 string Key(int i);
23
24private:
25 string Source;
26};
27
28#endif // MULTIPLELINEARREGRESSIONSET_H
Interface()
Default constructor.
Definition interface.cpp:6
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.
bool Append(const QString &key, const MultipleLinearRegression &MLR)
void SetSource(const string &source)