Add BoostA2DE model and fix some report errors

This commit is contained in:
2024-05-17 01:25:27 +02:00
parent 30a6d5e60d
commit 696c0564a7
9 changed files with 25 additions and 22 deletions

View File

@@ -55,6 +55,10 @@ namespace platform {
}
}
}
if (bests.empty()) {
std::cerr << Colors::MAGENTA() << "No results found for model " << model << " and score " << score << Colors::RESET() << std::endl;
exit(1);
}
std::string bestFileName = path + bestResultFile();
std::ofstream file(bestFileName);
file << bests;