From cb2b01b7eecc98963282a038ab5e6727ae6ac0e0 Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Tue, 30 Oct 2018 10:09:07 +0100 Subject: [PATCH] Fixed compile issue --- src/storm-gspn/builder/JaniGSPNBuilder.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/storm-gspn/builder/JaniGSPNBuilder.cpp b/src/storm-gspn/builder/JaniGSPNBuilder.cpp index ceb7712b2..eea94b4dc 100644 --- a/src/storm-gspn/builder/JaniGSPNBuilder.cpp +++ b/src/storm-gspn/builder/JaniGSPNBuilder.cpp @@ -273,12 +273,13 @@ namespace storm { std::string dirShort = maximal ? "Max" : "Min"; std::string dirLong = maximal ? "maximal" : "minimal"; storm::solver::OptimizationDirection optimizationDirection = maximal ? storm::solver::OptimizationDirection::Maximize : storm::solver::OptimizationDirection::Minimize; + std::set emptySet; // Build reachability property auto reachFormula = std::make_shared( std::make_shared(atomicFormula, storm::logic::FormulaContext::Probability), storm::logic::OperatorInformation(optimizationDirection)); - standardProperties.emplace_back(dirShort + "PrReach" + name, reachFormula, "The " + dirLong + " probability to eventually reach " + description + "."); + standardProperties.emplace_back(dirShort + "PrReach" + name, reachFormula, emptySet, "The " + dirLong + " probability to eventually reach " + description + "."); // Build time bounded reachability property // Add variable for time bound @@ -292,7 +293,7 @@ namespace storm { auto reachTimeBoundFormula = std::make_shared( std::make_shared(trueFormula, atomicFormula, boost::none, tb, tbr), storm::logic::OperatorInformation(optimizationDirection)); - standardProperties.emplace_back(dirShort + "PrReach" + name + "TB", reachTimeBoundFormula, "The " + dirLong + " probability to reach " + description + " within 'TIME_BOUND' steps."); + standardProperties.emplace_back(dirShort + "PrReach" + name + "TB", reachTimeBoundFormula, emptySet, "The " + dirLong + " probability to reach " + description + " within 'TIME_BOUND' steps."); // Use complementary direction for expected time dirShort = maximal ? "Min" : "Max"; @@ -303,7 +304,7 @@ namespace storm { auto expTimeFormula = std::make_shared( std::make_shared(atomicFormula, storm::logic::FormulaContext::Time), storm::logic::OperatorInformation(optimizationDirection)); - standardProperties.emplace_back(dirShort + "ExpTime" + name, expTimeFormula, "The " + dirLong + " expected time to reach " + description + "."); + standardProperties.emplace_back(dirShort + "ExpTime" + name, expTimeFormula, emptySet, "The " + dirLong + " expected time to reach " + description + "."); return standardProperties; }