Browse Source

Indicate if result is not fully correct due to abort

tempestpy_adaptions
Matthias Volk 5 years ago
parent
commit
f01d8943ad
  1. 2
      src/storm-cli-utilities/model-handling.h

2
src/storm-cli-utilities/model-handling.h

@ -666,7 +666,7 @@ namespace storm {
if (result) { if (result) {
std::stringstream ss; std::stringstream ss;
ss << "'" << *property.getFilter().getStatesFormula() << "'"; ss << "'" << *property.getFilter().getStatesFormula() << "'";
STORM_PRINT("Result (for " << (property.getFilter().getStatesFormula()->isInitialFormula() ? "initial" : ss.str()) << " states): ");
STORM_PRINT((storm::utility::resources::isTerminate() ? "Result till abort" : "Result") << " (for " << (property.getFilter().getStatesFormula()->isInitialFormula() ? "initial" : ss.str()) << " states): ");
printFilteredResult<ValueType>(result, property.getFilter().getFilterType()); printFilteredResult<ValueType>(result, property.getFilter().getFilterType());
if (watch) { if (watch) {
STORM_PRINT("Time for model checking: " << *watch << "." << std::endl); STORM_PRINT("Time for model checking: " << *watch << "." << std::endl);

Loading…
Cancel
Save