From 0e97647d9ef7e0661f88c6ba179f4e83098e19c8 Mon Sep 17 00:00:00 2001 From: Sebastian Junges Date: Thu, 23 Apr 2020 15:52:06 -0700 Subject: [PATCH] canonic POMDPs are now annotated with the state valuations and the choice labellings --- src/storm-pomdp/transformer/MakePOMDPCanonic.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/storm-pomdp/transformer/MakePOMDPCanonic.cpp b/src/storm-pomdp/transformer/MakePOMDPCanonic.cpp index da03d47ca..9b83f898d 100644 --- a/src/storm-pomdp/transformer/MakePOMDPCanonic.cpp +++ b/src/storm-pomdp/transformer/MakePOMDPCanonic.cpp @@ -136,7 +136,9 @@ namespace storm { newRewardModels, false, boost::none); modelcomponents.observabilityClasses = pomdp.getObservations(); - //modelcomponents.choiceLabeling = pomdp.getChoiceLabeling(); + modelcomponents.stateValuations = pomdp.getOptionalStateValuations(); + modelcomponents.choiceLabeling = pomdp.getChoiceLabeling(); + modelcomponents.choiceLabeling->permuteItems(permutation); return std::make_shared>(modelcomponents, true); }