|
@ -540,9 +540,17 @@ namespace storm { |
|
|
// Now, we return the value for the only initial state.
|
|
|
// Now, we return the value for the only initial state.
|
|
|
STORM_LOG_DEBUG("Simplifying and returning result."); |
|
|
STORM_LOG_DEBUG("Simplifying and returning result."); |
|
|
if (stateRewards) { |
|
|
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 { |
|
|
} 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()]; |
|
|
|
|
|
// }
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|