@ -174,7 +174,16 @@ void define_model(py::module& m) {
py::class_<storm::models::sparse::MarkovAutomaton<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::MarkovAutomaton<storm::RationalFunction>>>(m,"SparseParametricMA","pMA in sparse representation",modelRatFunc)
py::class_<storm::models::sparse::MarkovAutomaton<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::MarkovAutomaton<storm::RationalFunction>>>(m,"SparseParametricMA","pMA in sparse representation",modelRatFunc)
;
;
py::class_<storm::models::sparse::StandardRewardModel<storm::RationalFunction>>(m,"SparseParametricRewardModel","Reward structure for parametric sparse models");
py::class_<storm::models::sparse::StandardRewardModel<storm::RationalFunction>>(m,"SparseParametricRewardModel","Reward structure for parametric sparse models")
.def("reduce_to_state_based_rewards",[](RewardModel<storm::RationalFunction>&rewardModel,SparseMatrix<storm::RationalFunction>const&transitions,boolonlyStateRewards){returnrewardModel.reduceToStateBasedRewards(transitions,onlyStateRewards);},py::arg("transition_matrix"),py::arg("only_state_rewards"),"Reduce to state-based rewards")