Browse Source

add missing reduce to state based rewards for parametric models

refactoring
Sebastian Junges 7 years ago
parent
commit
5a01fb35bd
  1. 1
      src/storage/model.cpp

1
src/storage/model.cpp

@ -157,6 +157,7 @@ void define_model(py::module& m) {
.def_property_readonly("reward_models", [](Model<storm::RationalFunction> const& model) {return model.getRewardModels(); }, "Reward models")
.def_property_readonly("transition_matrix", &getTransitionMatrix<RationalFunction>, py::return_value_policy::reference, py::keep_alive<1, 0>(), "Transition matrix")
.def_property_readonly("backward_transition_matrix", &getBackwardTransitionMatrix<storm::RationalFunction>, py::return_value_policy::reference, py::keep_alive<1, 0>(), "Backward transition matrix")
.def("reduce_to_state_based_rewards", &Model<RationalFunction>::reduceToStateBasedRewards)
.def("__str__", getModelInfoPrinter<RationalFunction>("ParametricModel"))
;

Loading…
Cancel
Save