From 006ccaa2ee9ef40caac956e0d4213c0ba5c5fb9d Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Tue, 17 Apr 2018 13:46:42 +0200 Subject: [PATCH] Build all labels for DFT model if export is enabled --- src/storm-dft/modelchecker/dft/DFTModelChecker.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/storm-dft/modelchecker/dft/DFTModelChecker.cpp b/src/storm-dft/modelchecker/dft/DFTModelChecker.cpp index a1887a4ba..28a6afd8e 100644 --- a/src/storm-dft/modelchecker/dft/DFTModelChecker.cpp +++ b/src/storm-dft/modelchecker/dft/DFTModelChecker.cpp @@ -204,7 +204,7 @@ namespace storm { // Build a single CTMC STORM_LOG_DEBUG("Building Model from DFT with top level element " << ft.getElement(ft.getTopLevelIndex())->toString() << " ..."); storm::builder::ExplicitDFTModelBuilder builder(ft, symmetries, enableDC); - typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties); + typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties, storm::settings::getModule().isExportExplicitSet()); builder.buildModel(labeloptions, 0, 0.0); std::shared_ptr> model = builder.getModel(); explorationTimer.stop(); @@ -256,7 +256,7 @@ namespace storm { STORM_LOG_DEBUG("Building Model..."); storm::builder::ExplicitDFTModelBuilder builder(dft, symmetries, enableDC); - typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties); + typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties, storm::settings::getModule().isExportExplicitSet()); builder.buildModel(labeloptions, 0, 0.0); std::shared_ptr> model = builder.getModel(); //model->printModelInformationToStream(std::cout); @@ -288,7 +288,7 @@ namespace storm { std::shared_ptr> model; std::vector newResult; storm::builder::ExplicitDFTModelBuilder builder(dft, symmetries, enableDC); - typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties); + typename storm::builder::ExplicitDFTModelBuilder::LabelOptions labeloptions(properties, storm::settings::getModule().isExportExplicitSet()); // TODO Matthias: compute approximation for all properties simultaneously? std::shared_ptr property = properties[0];