.def_property_readonly("supports_parameters",&storm::models::ModelBase::supportsParameters,"Flag whether model supports parameters")
@ -47,21 +47,23 @@ void define_model(py::module& m) {
;
// Models
py::class_<storm::models::sparse::Model<double>,std::shared_ptr<storm::models::sparse::Model<double>>>(m,"SparseModel","A probabilistic model where transitions are represented by doubles and saved in a sparse matrix",py::base<storm::models::ModelBase>())
py::class_<storm::models::sparse::Model<double>,std::shared_ptr<storm::models::sparse::Model<double>>>model(m,"SparseModel","A probabilistic model where transitions are represented by doubles and saved in a sparse matrix",modelBase);
py::class_<storm::models::sparse::Dtmc<double>,std::shared_ptr<storm::models::sparse::Dtmc<double>>>(m,"SparseDtmc","DTMC in sparse representation",py::base<storm::models::sparse::Model<double>>())
py::class_<storm::models::sparse::Dtmc<double>,std::shared_ptr<storm::models::sparse::Dtmc<double>>>(m,"SparseDtmc","DTMC in sparse representation",model)
;
py::class_<storm::models::sparse::Mdp<double>,std::shared_ptr<storm::models::sparse::Mdp<double>>>(m,"SparseMdp","MDP in sparse representation",py::base<storm::models::sparse::Model<double>>())
py::class_<storm::models::sparse::Mdp<double>,std::shared_ptr<storm::models::sparse::Mdp<double>>>(m,"SparseMdp","MDP in sparse representation",model)
;
py::class_<storm::models::sparse::Model<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Model<storm::RationalFunction>>>(m,"SparseParametricModel","A probabilistic model where transitions are represented by rational functions and saved in a sparse matrix",py::base<storm::models::ModelBase>())
py::class_<storm::models::sparse::Model<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Model<storm::RationalFunction>>>modelRatFunc(m,"SparseParametricModel","A probabilistic model where transitions are represented by rational functions and saved in a sparse matrix",modelBase);
py::class_<storm::models::sparse::Dtmc<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Dtmc<storm::RationalFunction>>>(m,"SparseParametricDtmc","pDTMC in sparse representation",py::base<storm::models::sparse::Model<storm::RationalFunction>>())
py::class_<storm::models::sparse::Dtmc<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Dtmc<storm::RationalFunction>>>(m,"SparseParametricDtmc","pDTMC in sparse representation",modelRatFunc)
;
py::class_<storm::models::sparse::Mdp<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Mdp<storm::RationalFunction>>>(m,"SparseParametricMdp","pMDP in sparse representation",py::base<storm::models::sparse::Model<storm::RationalFunction>>())
py::class_<storm::models::sparse::Mdp<storm::RationalFunction>,std::shared_ptr<storm::models::sparse::Mdp<storm::RationalFunction>>>(m,"SparseParametricMdp","pMDP in sparse representation",modelRatFunc)