From 749ba87254ada79ca0b0f9397dddf3e2db93bea8 Mon Sep 17 00:00:00 2001 From: TimQu Date: Mon, 2 Jul 2018 10:57:13 +0200 Subject: [PATCH] Made SVI log output more clear --- src/storm/solver/helper/SoundValueIterationHelper.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/storm/solver/helper/SoundValueIterationHelper.cpp b/src/storm/solver/helper/SoundValueIterationHelper.cpp index 6e47bfe3e..081c4a51d 100644 --- a/src/storm/solver/helper/SoundValueIterationHelper.cpp +++ b/src/storm/solver/helper/SoundValueIterationHelper.cpp @@ -301,14 +301,14 @@ namespace storm { storm::utility::vector::applyPointwise(x, y, x, [&meanBound] (ValueType const& xi, ValueType const& yi) -> ValueType { return xi + yi * meanBound; }); - STORM_LOG_INFO("Sound Value Iteration terminated with lower value bound " + STORM_LOG_INFO("Sound Value Iteration terminated with lower bound (over all states) " << (hasLowerBound ? lowerBound : storm::utility::zero()) << (hasLowerBound ? "" : "(none)") - << " and upper value bound " - << (hasUpperBound ? upperBound : storm::utility::zero()) << (hasUpperBound ? "" : "(none)") + << " and upper bound (over all states)" + << (hasUpperBound ? upperBound : storm::utility::infinity()) << (hasUpperBound ? "" : "(none)") << ". Decision value is " - << (hasDecisionValue ? decisionValue : storm::utility::zero()) << (hasDecisionValue ? "" : "(none)") + << (hasDecisionValue ? decisionValue : -storm::utility::infinity()) << (hasDecisionValue ? "" : "(none)") << "."); - } + } template bool SoundValueIterationHelper::checkCustomTerminationCondition(storm::solver::TerminationCondition const& condition) {