Browse Source

ParetoCourveCheckResult: Print approx. value in case of exact checking.

tempestpy_adaptions
Tim Quatmann 6 years ago
parent
commit
e92966c3e4
  1. 16
      src/storm/modelchecker/results/ParetoCurveCheckResult.cpp

16
src/storm/modelchecker/results/ParetoCurveCheckResult.cpp

@ -69,9 +69,21 @@ namespace storm {
if (it != p.begin()){ if (it != p.begin()){
out << ", "; out << ", ";
} }
out << std::setw(10) << *it;
out << std::setw(storm::NumberTraits<ValueType>::IsExact ? 20 : 11) << *it;
} }
out << " )" << std::endl;
out << " )";
if (storm::NumberTraits<ValueType>::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<double>(*it);
}
out << " )";
}
out << std::endl;
} }
return out; return out;
} }

Loading…
Cancel
Save