Add best results Excel

This commit is contained in:
2023-09-28 17:12:04 +02:00
parent 85202260f3
commit cfcf3c16df
6 changed files with 62 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ using json = nlohmann::json;
namespace platform {
class BestResultsExcel : ExcelFile {
public:
BestResultsExcel(vector<string> models, vector<string> datasets, json table, bool friedman);
BestResultsExcel(string score, vector<string> models, vector<string> datasets, json table, bool friedman);
~BestResultsExcel();
void build();
private:
@@ -19,11 +19,13 @@ namespace platform {
void footer();
void formatColumns();
const string fileName = "BestResults.xlsx";
string score;
vector<string> models;
vector<string> datasets;
json table;
bool friedman;
int modelNameSize = 12; // Min size of the column
int datasetNameSize = 25; // Min size of the column
};
}
#endif //BESTRESULTS_EXCEL_H