From 053f0a8d1975e939b0bb1eecd2f725b100eb5a63 Mon Sep 17 00:00:00 2001 From: lukpo Date: Thu, 15 Jul 2021 11:46:08 +0200 Subject: [PATCH] extended MDPModelCheckingHelperReturnType with maybeStates and choiceValues --- .../prctl/helper/MDPModelCheckingHelperReturnType.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h b/src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h index 97efcc3bc..51f501fc7 100644 --- a/src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h +++ b/src/storm/modelchecker/prctl/helper/MDPModelCheckingHelperReturnType.h @@ -18,7 +18,7 @@ namespace storm { MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType const&) = delete; MDPSparseModelCheckingHelperReturnType(MDPSparseModelCheckingHelperReturnType&&) = default; - MDPSparseModelCheckingHelperReturnType(std::vector&& values, std::unique_ptr>&& scheduler = nullptr) : values(std::move(values)), scheduler(std::move(scheduler)) { + MDPSparseModelCheckingHelperReturnType(std::vector&& values, storm::storage::BitVector&& maybeStates = nullptr, std::unique_ptr>&& scheduler = nullptr, std::vector&& choiceValues = nullptr) : values(std::move(values)), maybeStates(maybeStates), scheduler(std::move(scheduler)), choiceValues(std::move(choiceValues)) { // Intentionally left empty. } @@ -29,8 +29,14 @@ namespace storm { // The values computed for the states. std::vector values; + // The maybe states of the model + storm::storage::BitVector maybeStates; + // A scheduler, if it was computed. std::unique_ptr> scheduler; + + // The values computed for the available choices. + std::vector choiceValues; }; }