diff --git a/src/storm/modelchecker/results/ParetoCurveCheckResult.cpp b/src/storm/modelchecker/results/ParetoCurveCheckResult.cpp index ffc34528a..c1cb62f32 100644 --- a/src/storm/modelchecker/results/ParetoCurveCheckResult.cpp +++ b/src/storm/modelchecker/results/ParetoCurveCheckResult.cpp @@ -65,13 +65,25 @@ namespace storm { out << points.size() << " Pareto optimal points found:" << std::endl; for(auto const& p : points) { out << " ("; - for(auto it = p.begin(); it != p.end(); ++it){ - if(it != p.begin()){ + for (auto it = p.begin(); it != p.end(); ++it){ + if (it != p.begin()){ out << ", "; } - out << std::setw(10) << *it; + out << std::setw(storm::NumberTraits::IsExact ? 20 : 11) << *it; } - out << " )" << std::endl; + out << " )"; + if (storm::NumberTraits::IsExact) { + out << " approx. "; + out << " ("; + for (auto it = p.begin(); it != p.end(); ++it) { + if(it != p.begin()){ + out << ", "; + } + out << std::setw(11) << storm::utility::convertNumber(*it); + } + out << " )"; + } + out << std::endl; } return out; }