Browse Source

removed simplification of final result.

Former-commit-id: d5a1f5f28c
tempestpy_adaptions
dehnert 10 years ago
parent
commit
a602cecb26
  1. 12
      src/modelchecker/reachability/SparseDtmcEliminationModelChecker.cpp

12
src/modelchecker/reachability/SparseDtmcEliminationModelChecker.cpp

@ -540,9 +540,17 @@ namespace storm {
// Now, we return the value for the only initial state.
STORM_LOG_DEBUG("Simplifying and returning result.");
if (stateRewards) {
return storm::utility::simplify(stateRewards.get()[*initialStates.begin()]);
// if (storm::settings::parametricSettings().isSimplifySet()) {
// return storm::utility::simplify(stateRewards.get()[*initialStates.begin()]);
// } else {
return stateRewards.get()[*initialStates.begin()];
// }
} else {
return storm::utility::simplify(oneStepProbabilities[*initialStates.begin()]);
// if (storm::settings::parametricSettings().isSimplifySet()) {
// return storm::utility::simplify(oneStepProbabilities[*initialStates.begin()]);
// } else {
return oneStepProbabilities[*initialStates.begin()];
// }
}
}

Loading…
Cancel
Save