Browse Source

Give message when no lattices are created

tempestpy_adaptions
Jip Spel 6 years ago
parent
commit
c85da52e8b
  1. 7
      src/storm-pars-cli/storm-pars.cpp

7
src/storm-pars-cli/storm-pars.cpp

@ -556,10 +556,15 @@ namespace storm {
// Monotonicity?
storm::utility::Stopwatch monotonicityWatch(true);
if (result.size() > 0) {
auto monotonicityChecker = storm::analysis::MonotonicityChecker<ValueType>();
monotonicityChecker.checkMonotonicity(result, sparseModel->getTransitionMatrix());
monotonicityWatch.stop();
STORM_PRINT(std::endl << "Time for monotonicity: " << monotonicityWatch << "." << std::endl << std::endl);
} else {
STORM_PRINT(std::endl << "Could not find monotonicity, no lattices created" << std::endl);
}
STORM_PRINT(std::endl << "Time for monotonicity: " << monotonicityWatch << "." << std::endl
<< std::endl);
std::cout << "Bye, Jip2" << std::endl;
return;

Loading…
Cancel
Save