diff --git a/src/shapevl/Collector.cpp b/src/shapevl/Collector.cpp index 97603b9..d8f8c28 100644 --- a/src/shapevl/Collector.cpp +++ b/src/shapevl/Collector.cpp @@ -286,6 +286,10 @@ void Collector::printShortStats(std::ostream* os) const { static_cast(_results.size())) * 100 << ","; + (*os) << (static_cast(_an5) / + static_cast(_results.size())) * + 100 + << ","; (*os) << (static_cast(_an10) / static_cast(_results.size())) * 100 @@ -339,6 +343,12 @@ void Collector::printStats(std::ostream* os) const { 100 << " %" << "\n"; + (*os) << " an-5: " + << (static_cast(_an5) / + static_cast(_results.size())) * + 100 + << " %" + << "\n"; (*os) << " an-10: " << (static_cast(_an10) / static_cast(_results.size())) * @@ -413,6 +423,8 @@ std::map Collector::getStats() { } stats["an-0"] = (static_cast(_an0) / static_cast(_results.size())) * 100; + stats["an-5"] = + (static_cast(_an5) / static_cast(_results.size())) * 100; stats["an-10"] = (static_cast(_an10) / static_cast(_results.size())) * 100; stats["an-20"] =