Browse Source

Result for upper bounds needs only be calculated for k=0

tempestpy_adaptions
Matthias Volk 6 years ago
parent
commit
d054f3c64a
  1. 2
      src/storm/modelchecker/csl/helper/SparseMarkovAutomatonCslHelper.cpp

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

@ -391,6 +391,7 @@ namespace storm {
calculateUnifPlusVector(env, k, state, false, lambda, numberOfProbabilisticChoices, relativeReachabilities, dir, unifVectors, fullTransitionMatrix, markovianAndGoalStates, psiStates, solver, foxGlynnResult, cycleFree);
}
if (k == 0) {
// Calculate result for upper bound
// resUpperNew was already initialized with zeros
uint64_t left = std::max(foxGlynnResult.left, (uint64_t)(k));
@ -402,6 +403,7 @@ namespace storm {
}
}
}
}
// Only iterate over result vector, as the results can only get more precise.
maxNorm = storm::utility::zero<ValueType>();

Loading…
Cancel
Save