From ab142453507aa71972cd05dc7ebbe41ad022c8f0 Mon Sep 17 00:00:00 2001 From: Jip Spel Date: Thu, 31 Jan 2019 18:55:21 +0100 Subject: [PATCH] Remove bool for stateElimination --- src/storm-pars-cli/storm-pars.cpp | 2 +- src/storm-pars/analysis/MonotonicityChecker.cpp | 2 +- src/storm-pars/analysis/MonotonicityChecker.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/storm-pars-cli/storm-pars.cpp b/src/storm-pars-cli/storm-pars.cpp index bfc81bf72..7a59114e6 100644 --- a/src/storm-pars-cli/storm-pars.cpp +++ b/src/storm-pars-cli/storm-pars.cpp @@ -638,7 +638,7 @@ namespace storm { std::ofstream outfile; outfile.open("results.txt", std::ios_base::app); storm::utility::Stopwatch monotonicityWatch(true); - auto monotonicityChecker = storm::analysis::MonotonicityChecker(model, formulas, parSettings.isValidateAssumptionsSet(), parSettings.isSccEliminationSet()); + auto monotonicityChecker = storm::analysis::MonotonicityChecker(model, formulas, parSettings.isValidateAssumptionsSet()); monotonicityChecker.checkMonotonicity(); monotonicityWatch.stop(); STORM_PRINT(std::endl << "Total time for monotonicity checking: " << monotonicityWatch << "." << std::endl diff --git a/src/storm-pars/analysis/MonotonicityChecker.cpp b/src/storm-pars/analysis/MonotonicityChecker.cpp index dec5c4b08..5018fb9e8 100644 --- a/src/storm-pars/analysis/MonotonicityChecker.cpp +++ b/src/storm-pars/analysis/MonotonicityChecker.cpp @@ -30,7 +30,7 @@ namespace storm { namespace analysis { template - MonotonicityChecker::MonotonicityChecker(std::shared_ptr model, std::vector> formulas, bool validate, bool sccElimination) { + MonotonicityChecker::MonotonicityChecker(std::shared_ptr model, std::vector> formulas, bool validate) { outfile.open(filename, std::ios_base::app); this->model = model; this->formulas = formulas; diff --git a/src/storm-pars/analysis/MonotonicityChecker.h b/src/storm-pars/analysis/MonotonicityChecker.h index f40f301bb..d8f6a94d0 100644 --- a/src/storm-pars/analysis/MonotonicityChecker.h +++ b/src/storm-pars/analysis/MonotonicityChecker.h @@ -26,7 +26,7 @@ namespace storm { class MonotonicityChecker { public: - MonotonicityChecker(std::shared_ptr model, std::vector> formulas, bool validate, bool sccElimination); + MonotonicityChecker(std::shared_ptr model, std::vector> formulas, bool validate); /*! * Checks for all lattices in the map if they are monotone increasing or monotone decreasing. * @@ -71,7 +71,7 @@ namespace storm { std::vector> formulas; bool validate; - + bool sccElimination; std::map> resultCheckOnSamples;