.def_property_readonly("convertible_to_ctmc",&SparseMarkovAutomaton<double>::isConvertibleToCtmc,"Check whether the MA can be converted into a CTMC.")
.def("convert_to_ctmc",&SparseMarkovAutomaton<double>::convertToCtmc,"Convert the MA into a CTMC.")
;
;
py::class_<SparseRewardModel<double>>(m,"SparseRewardModel","Reward structure for sparse models")
py::class_<SparseRewardModel<double>>(m,"SparseRewardModel","Reward structure for sparse models")
@ -256,6 +260,8 @@ void define_sparse_model(py::module& m) {
.def("__str__",&getModelInfoPrinter)
.def("__str__",&getModelInfoPrinter)
;
;
py::class_<SparseMarkovAutomaton<RationalFunction>,std::shared_ptr<SparseMarkovAutomaton<RationalFunction>>>(m,"SparseParametricMA","pMA in sparse representation",modelRatFunc)
py::class_<SparseMarkovAutomaton<RationalFunction>,std::shared_ptr<SparseMarkovAutomaton<RationalFunction>>>(m,"SparseParametricMA","pMA in sparse representation",modelRatFunc)