Browse Source

Debug output

tempestpy_adaptions
Matthias Volk 6 years ago
parent
commit
4c5b041340
  1. 5
      src/storm/modelchecker/csl/helper/SparseMarkovAutomatonCslHelper.cpp

5
src/storm/modelchecker/csl/helper/SparseMarkovAutomatonCslHelper.cpp

@ -90,6 +90,7 @@ namespace storm {
// First case, k==N, independent from kind of state. // First case, k==N, independent from kind of state.
if (k == N) { if (k == N) {
STORM_LOG_ASSERT(false, "Result for k=N was already calculated.");
resVectorNew[state] = storm::utility::zero<ValueType>(); resVectorNew[state] = storm::utility::zero<ValueType>();
return; return;
} }
@ -290,7 +291,7 @@ namespace storm {
for (ValueType const& rate : exitRateVector) { for (ValueType const& rate : exitRateVector) {
lambda = std::max(rate, lambda); lambda = std::max(rate, lambda);
} }
STORM_LOG_TRACE("Initial lambda is " << lambda << ".");
STORM_LOG_DEBUG("Initial lambda is " << lambda << ".");
// Compute the relative reachability vectors and create solver for models with SCCs. // Compute the relative reachability vectors and create solver for models with SCCs.
std::vector<std::vector<ValueType>> relativeReachabilities(transitionMatrix.getRowCount()); std::vector<std::vector<ValueType>> relativeReachabilities(transitionMatrix.getRowCount());
@ -411,7 +412,7 @@ namespace storm {
// (6) Double lambda. // (6) Double lambda.
lambda *= 2; lambda *= 2;
STORM_LOG_TRACE("Increased lambda to " << lambda << ", max diff is " << maxNorm << ".");
STORM_LOG_DEBUG("Increased lambda to " << lambda << ", max diff is " << maxNorm << ".");
} while (maxNorm > epsilon * (1 - kappa)); } while (maxNorm > epsilon * (1 - kappa));

Loading…
Cancel
Save