From d1a0299bd0e21b4806db65ca8b762804f25cf146 Mon Sep 17 00:00:00 2001 From: Stefan Pranger Date: Wed, 16 Dec 2020 11:33:47 +0100 Subject: [PATCH] buildMatrices handles playerIndices via reference --- src/storm/builder/ExplicitModelBuilder.cpp | 2 +- src/storm/builder/ExplicitModelBuilder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/storm/builder/ExplicitModelBuilder.cpp b/src/storm/builder/ExplicitModelBuilder.cpp index 10e0c8927..754568b38 100644 --- a/src/storm/builder/ExplicitModelBuilder.cpp +++ b/src/storm/builder/ExplicitModelBuilder.cpp @@ -120,7 +120,7 @@ namespace storm { } template - void ExplicitModelBuilder::buildMatrices(storm::storage::SparseMatrixBuilder& transitionMatrixBuilder, std::vector>& rewardModelBuilders, ChoiceInformationBuilder& choiceInformationBuilder, boost::optional& markovianStates, boost::optional> playerActionIndices, boost::optional& stateValuationsBuilder) { + void ExplicitModelBuilder::buildMatrices(storm::storage::SparseMatrixBuilder& transitionMatrixBuilder, std::vector>& rewardModelBuilders, ChoiceInformationBuilder& choiceInformationBuilder, boost::optional& markovianStates, boost::optional>& playerActionIndices, boost::optional& stateValuationsBuilder) { // Create markovian states bit vector, if required. if (generator->getModelType() == storm::generator::ModelType::MA) { diff --git a/src/storm/builder/ExplicitModelBuilder.h b/src/storm/builder/ExplicitModelBuilder.h index af068b3fa..ed470ca9d 100644 --- a/src/storm/builder/ExplicitModelBuilder.h +++ b/src/storm/builder/ExplicitModelBuilder.h @@ -131,7 +131,7 @@ namespace storm { * @param markovianChoices is set to a bit vector storing whether a choice is Markovian (is only set if the model type requires this information). * @param stateValuationsBuilder if not boost::none, we insert valuations for the corresponding states */ - void buildMatrices(storm::storage::SparseMatrixBuilder& transitionMatrixBuilder, std::vector>& rewardModelBuilders, ChoiceInformationBuilder& choiceInformationBuilder, boost::optional& markovianChoices, boost::optional> playerActionIndices, boost::optional& stateValuationsBuilder); + void buildMatrices(storm::storage::SparseMatrixBuilder& transitionMatrixBuilder, std::vector>& rewardModelBuilders, ChoiceInformationBuilder& choiceInformationBuilder, boost::optional& markovianChoices, boost::optional>& playerActionIndices, boost::optional& stateValuationsBuilder); /*! * Explores the state space of the given program and returns the components of the model as a result.