Browse Source

remove compilation error and improve associated feedback to user

main
Sebastian Junges 4 years ago
parent
commit
6d7802975f
  1. 5
      src/storm-pomdp-cli/storm-pomdp.cpp

5
src/storm-pomdp-cli/storm-pomdp.cpp

@ -189,13 +189,10 @@ namespace storm {
if (result) { if (result) {
STORM_PRINT_AND_LOG("From initial state, one can almost-surely reach the target."); STORM_PRINT_AND_LOG("From initial state, one can almost-surely reach the target.");
} else { } else {
if (k == pomdp.getNumberOfStates()) {
STORM_PRINT_AND_LOG("From initial state, one cannot almost-surely reach the target.");
} else {
// TODO consider adding check for end components to improve this message.
STORM_PRINT_AND_LOG("From initial state, one may not almost-surely reach the target."); STORM_PRINT_AND_LOG("From initial state, one may not almost-surely reach the target.");
} }
} }
}
if (qualSettings.isPrintWinningRegionSet()) { if (qualSettings.isPrintWinningRegionSet()) {
search.getLastWinningRegion().print(); search.getLastWinningRegion().print();

Loading…
Cancel
Save