From c8fd980544673f2d148afa18ca18a305499df027 Mon Sep 17 00:00:00 2001 From: Stefan Pranger Date: Wed, 16 Dec 2020 11:27:48 +0100 Subject: [PATCH] engine now checks smg models --- src/storm/utility/Engine.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/storm/utility/Engine.cpp b/src/storm/utility/Engine.cpp index d431f5343..e98ccfea2 100644 --- a/src/storm/utility/Engine.cpp +++ b/src/storm/utility/Engine.cpp @@ -6,6 +6,7 @@ #include "storm/modelchecker/prctl/SparseMdpPrctlModelChecker.h" #include "storm/modelchecker/csl/SparseCtmcCslModelChecker.h" #include "storm/modelchecker/csl/SparseMarkovAutomatonCslModelChecker.h" +#include "storm/modelchecker/rpatl/SparseSmgRpatlModelChecker.h" #include "storm/modelchecker/prctl/HybridDtmcPrctlModelChecker.h" #include "storm/modelchecker/prctl/HybridMdpPrctlModelChecker.h" @@ -123,8 +124,9 @@ namespace storm { case ModelType::MA: return storm::modelchecker::SparseMarkovAutomatonCslModelChecker>::canHandleStatic(checkTask); case ModelType::POMDP: - case ModelType::SMG: return false; + case ModelType::SMG: + return storm::modelchecker::SparseSmgRpatlModelChecker>::canHandleStatic(checkTask); } break; case Engine::Hybrid: @@ -177,10 +179,10 @@ namespace storm { return storm::modelchecker::SparseDtmcPrctlModelChecker>::canHandleStatic(checkTask); case ModelType::CTMC: return storm::modelchecker::SparseCtmcCslModelChecker>::canHandleStatic(checkTask); + case ModelType::SMG: case ModelType::MDP: case ModelType::MA: case ModelType::POMDP: - case ModelType::SMG: return false; } break;