From 6eb2795b6890f71c681c6d028f414b5273105d5b Mon Sep 17 00:00:00 2001 From: Matthias Volk Date: Mon, 18 Mar 2019 22:40:40 +0100 Subject: [PATCH] Fixed crucial bug marking all states as 'to expand'. As a result no states were skipped during exploration and no approximation took place. --- src/storm-dft/builder/ExplicitDFTModelBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-dft/builder/ExplicitDFTModelBuilder.cpp b/src/storm-dft/builder/ExplicitDFTModelBuilder.cpp index 21a9e97f8..13647880e 100644 --- a/src/storm-dft/builder/ExplicitDFTModelBuilder.cpp +++ b/src/storm-dft/builder/ExplicitDFTModelBuilder.cpp @@ -411,7 +411,7 @@ namespace storm { } iter->second.second = heuristic; - if (state->hasFailed(dft.getTopLevelIndex()) || state->isFailsafe(dft.getTopLevelIndex()) || state->getFailableElements().hasDependencies() || (!state->getFailableElements().hasDependencies() && state->getFailableElements().hasBEs())) { + if (state->hasFailed(dft.getTopLevelIndex()) || state->isFailsafe(dft.getTopLevelIndex()) || state->getFailableElements().hasDependencies() || (!state->getFailableElements().hasDependencies() && !state->getFailableElements().hasBEs())) { // Do not skip absorbing state or if reached by dependencies iter->second.second->markExpand(); }