Add discretization algo to reports

This commit is contained in:
2024-06-09 01:11:56 +02:00
parent 643633e6dd
commit 080f3cee34
3 changed files with 4 additions and 10 deletions

View File

@@ -23,8 +23,9 @@ namespace platform {
+ " random seeds. " + data["date"].get<std::string>() + " " + data["time"].get<std::string>()
);
sheader << headerLine(data["title"].get<std::string>());
std::string algorithm = data["discretized"].get<bool>() ? " (" + data["discretization_algorithm"].get<std::string>() + ")" : "";
sheader << headerLine(
"Random seeds: " + fromVector("seeds") + " Discretized: " + (data["discretized"].get<bool>() ? "True" : "False")
"Random seeds: " + fromVector("seeds") + " Discretized: " + (data["discretized"].get<bool>() ? "True" : "False") + algorithm
+ " Stratified: " + (data["stratified"].get<bool>() ? "True" : "False")
);
oss << "Execution took " << std::setprecision(2) << std::fixed << data["duration"].get<float>()