Browse Source

canonic POMDPs are now annotated with the state valuations and the choice labellings

tempestpy_adaptions
Sebastian Junges 5 years ago
parent
commit
0e97647d9e
  1. 4
      src/storm-pomdp/transformer/MakePOMDPCanonic.cpp

4
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<storm::models::sparse::Pomdp<ValueType>>(modelcomponents, true);
}

Loading…
Cancel
Save