Browse Source

Made SVI log output more clear

tempestpy_adaptions
TimQu 6 years ago
parent
commit
749ba87254
  1. 10
      src/storm/solver/helper/SoundValueIterationHelper.cpp

10
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<ValueType>()) << (hasLowerBound ? "" : "(none)")
<< " and upper value bound "
<< (hasUpperBound ? upperBound : storm::utility::zero<ValueType>()) << (hasUpperBound ? "" : "(none)")
<< " and upper bound (over all states)"
<< (hasUpperBound ? upperBound : storm::utility::infinity<ValueType>()) << (hasUpperBound ? "" : "(none)")
<< ". Decision value is "
<< (hasDecisionValue ? decisionValue : storm::utility::zero<ValueType>()) << (hasDecisionValue ? "" : "(none)")
<< (hasDecisionValue ? decisionValue : -storm::utility::infinity<ValueType>()) << (hasDecisionValue ? "" : "(none)")
<< ".");
}
}
template<typename ValueType>
bool SoundValueIterationHelper<ValueType>::checkCustomTerminationCondition(storm::solver::TerminationCondition<ValueType> const& condition) {

Loading…
Cancel
Save