Browse Source

fix for quantitative computations in computeUntilProb

tempestpy_adaptions
Lukas Posch 3 years ago
parent
commit
9d4e654ec2
  1. 2
      src/storm/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp

2
src/storm/modelchecker/prctl/helper/SparseMdpPrctlHelper.cpp

@ -631,7 +631,7 @@ namespace storm {
std::vector<ValueType> maybeStateChoiceValues = std::vector<ValueType>(sizeMaybeStateChoiceValues, storm::utility::zero<ValueType>());
// Check whether we need to compute exact probabilities for some states.
if (qualitative || maybeStatesNotRelevant || !goal.isShieldingTask()) {
if ((qualitative || maybeStatesNotRelevant) && !goal.isShieldingTask()) {
// Set the values for all maybe-states to 0.5 to indicate that their probability values are neither 0 nor 1.
storm::utility::vector::setVectorValues<ValueType>(result, qualitativeStateSets.maybeStates, storm::utility::convertNumber<ValueType>(0.5));
} else {

Loading…
Cancel
Save