shorter output

This commit is contained in:
Patrick Brosi 2022-01-22 02:24:24 +01:00
parent 54409ec24d
commit 396ea175e7

View file

@ -286,10 +286,6 @@ void Collector::printShortStats(std::ostream* os) const {
static_cast<double>(_results.size())) * static_cast<double>(_results.size())) *
100 100
<< ","; << ",";
(*os) << (static_cast<double>(_an5) /
static_cast<double>(_results.size())) *
100
<< ",";
(*os) << (static_cast<double>(_an10) / (*os) << (static_cast<double>(_an10) /
static_cast<double>(_results.size())) * static_cast<double>(_results.size())) *
100 100
@ -343,12 +339,6 @@ void Collector::printStats(std::ostream* os) const {
100 100
<< " %" << " %"
<< "\n"; << "\n";
(*os) << " an-5: "
<< (static_cast<double>(_an5) /
static_cast<double>(_results.size())) *
100
<< " %"
<< "\n";
(*os) << " an-10: " (*os) << " an-10: "
<< (static_cast<double>(_an10) / << (static_cast<double>(_an10) /
static_cast<double>(_results.size())) * static_cast<double>(_results.size())) *
@ -423,8 +413,6 @@ std::map<string, double> Collector::getStats() {
} }
stats["an-0"] = stats["an-0"] =
(static_cast<double>(_an0) / static_cast<double>(_results.size())) * 100; (static_cast<double>(_an0) / static_cast<double>(_results.size())) * 100;
stats["an-5"] =
(static_cast<double>(_an5) / static_cast<double>(_results.size())) * 100;
stats["an-10"] = stats["an-10"] =
(static_cast<double>(_an10) / static_cast<double>(_results.size())) * 100; (static_cast<double>(_an10) / static_cast<double>(_results.size())) * 100;
stats["an-20"] = stats["an-20"] =