Browse Source

Reverted 'optimization' for Prob1Max (since that didn't work out).

tempestpy_adaptions
TimQu 5 years ago
parent
commit
1f98f6c557
  1. 6
      src/storm/utility/graph.cpp

6
src/storm/utility/graph.cpp

@ -738,11 +738,7 @@ namespace storm {
result.first = performProb0A(backwardTransitions, phiStates, psiStates); result.first = performProb0A(backwardTransitions, phiStates, psiStates);
// result.second = performProb1E(transitionMatrix, nondeterministicChoiceIndices, backwardTransitions, phiStates, psiStates);
// Instead of calling performProb1E, we call the (more easier) performProb0E on the Prob0A states.
// This is valid because, when maximizing probabilities, states that have prob1 cannot reach a state with prob 0 (and will eventually reach a psiState).
// States that do not have prob1 will eventually reach a state with prob0.
result.second = performProb0E(transitionMatrix, nondeterministicChoiceIndices, backwardTransitions, ~psiStates, result.first);
result.second = performProb1E(transitionMatrix, nondeterministicChoiceIndices, backwardTransitions, phiStates, psiStates);
return result; return result;
} }

Loading…
Cancel
Save