|
|
@ -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()]; |
|
|
|
// }
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|