diff --git a/src/builder/ExplicitDFTModelBuilder.cpp b/src/builder/ExplicitDFTModelBuilder.cpp index d4de53d64..1bfc445e7 100644 --- a/src/builder/ExplicitDFTModelBuilder.cpp +++ b/src/builder/ExplicitDFTModelBuilder.cpp @@ -1,5 +1,6 @@ #include "src/builder/ExplicitDFTModelBuilder.h" #include +#include #include #include #include @@ -13,7 +14,7 @@ namespace storm { } template - std::shared_ptr> ExplicitDFTModelBuilder::buildMA() { + std::shared_ptr> ExplicitDFTModelBuilder::buildModel() { // Initialize DFTStatePointer state = std::make_shared>(mDft, newIndex++); mStates.findOrAdd(state->status(), state); diff --git a/src/builder/ExplicitDFTModelBuilder.h b/src/builder/ExplicitDFTModelBuilder.h index edb2e1a94..b2d27aadd 100644 --- a/src/builder/ExplicitDFTModelBuilder.h +++ b/src/builder/ExplicitDFTModelBuilder.h @@ -53,7 +53,7 @@ namespace storm { // 2^nrBE is upper bound for state space } - std::shared_ptr> buildMA(); + std::shared_ptr> buildModel(); private: void exploreStates(std::queue& stateQueue, storm::storage::SparseMatrixBuilder& transitionMatrixBuilder, std::vector& markovianStates, std::vector& exitRates); diff --git a/src/storm-dyftee.cpp b/src/storm-dyftee.cpp index a86347e3b..a8122f2bd 100644 --- a/src/storm-dyftee.cpp +++ b/src/storm-dyftee.cpp @@ -6,7 +6,7 @@ #include "utility/storm.h" /*! - * Load DFT from filename, build corresponding Markov Automaton and check against given property. + * Load DFT from filename, build corresponding Model and check against given property. * * @param filename Path to DFT file in Galileo format. * @param property PCTC formula capturing the property to check. @@ -20,20 +20,20 @@ void analyzeDFT(std::string filename, std::string property) { std::cout << "Built data structure" << std::endl; // Building Markov Automaton - std::cout << "Building Markov Automaton..." << std::endl; + std::cout << "Building Model..." << std::endl; storm::builder::ExplicitDFTModelBuilder builder(dft); - std::shared_ptr> model = builder.buildMA(); - std::cout << "Built Markov Automaton" << std::endl; + std::shared_ptr> model = builder.buildModel(); + std::cout << "Built Model" << std::endl; // Model checking std::cout << "Model checking..." << std::endl; std::vector> formulas = storm::parseFormulasForExplicit(property); assert(formulas.size() == 1); - std::unique_ptr resultMA(storm::verifySparseModel(model, formulas[0])); - assert(resultMA); + std::unique_ptr result(storm::verifySparseModel(model, formulas[0])); + assert(result); std::cout << "Result: "; - resultMA->filter(storm::modelchecker::ExplicitQualitativeCheckResult(model->getInitialStates())); - std::cout << *resultMA << std::endl; + result->filter(storm::modelchecker::ExplicitQualitativeCheckResult(model->getInitialStates())); + std::cout << *result << std::endl; } /*!