From cc5faee9c05be88195a3e8bfd2b50a0de3b28964 Mon Sep 17 00:00:00 2001 From: Tim Quatmann Date: Mon, 4 May 2020 14:35:35 +0200 Subject: [PATCH] Fixed initial size threshold for over-approx. --- src/storm-pomdp/modelchecker/ApproximatePOMDPModelchecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm-pomdp/modelchecker/ApproximatePOMDPModelchecker.cpp b/src/storm-pomdp/modelchecker/ApproximatePOMDPModelchecker.cpp index be50cbfff..c8bc31f10 100644 --- a/src/storm-pomdp/modelchecker/ApproximatePOMDPModelchecker.cpp +++ b/src/storm-pomdp/modelchecker/ApproximatePOMDPModelchecker.cpp @@ -250,7 +250,7 @@ namespace storm { overApproximation = std::make_shared(overApproxBeliefManager, lowerPomdpValueBounds, upperPomdpValueBounds); overApproxHeuristicPar.gapThreshold = options.gapThresholdInit; overApproxHeuristicPar.observationThreshold = options.obsThresholdInit; - overApproxHeuristicPar.sizeThreshold = options.sizeThresholdInit; + overApproxHeuristicPar.sizeThreshold = options.sizeThresholdInit == 0 ? std::numeric_limits::max() : options.sizeThresholdInit; overApproxHeuristicPar.optimalChoiceValueEpsilon = options.optimalChoiceValueThresholdInit; buildOverApproximation(targetObservations, min, rewardModelName.is_initialized(), false, overApproxHeuristicPar, observationResolutionVector, overApproxBeliefManager, overApproximation); if (!overApproximation->hasComputedValues()) {