-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathtesting_results.h
38 lines (33 loc) · 1.3 KB
/
testing_results.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef TESTING_RESULTS_H
#define TESTING_RESULTS_H
#include "gl_const.h"
#include <vector>
#include <map>
#include <string>
struct TestingResults {
TestingResults() {
data[CNS_TAG_ATTR_TIME] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_MAKESPAN] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_FLOWTIME] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_LLE] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_LLN] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_HLE] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_HLN] = std::map<int, std::vector<double>>();
data[CNS_TAG_FOCAL_W] = std::map<int, std::vector<double>>();
data[CNS_TAG_ATTR_TN] = std::map<int, std::vector<double>>();
}
std::vector<std::string> getKeys() {
std::vector<std::string> keys;
for (auto pair : data) {
keys.push_back(pair.first);
}
return keys;
}
std::map<std::string, std::map<int, std::vector<double>>> data;
std::map<int, int> finalTotalNodes;
std::map<int, int> finalHLNodes;
std::map<int, int> finalHLNodesStart;
std::map<int, int> finalHLExpansions;
std::map<int, int> finalHLExpansionsStart;
};
#endif // TESTING_RESULTS_H