.def(py::init<std::stringconst&,std::shared_ptr<storm::logic::Formulaconst>const&,std::stringconst&>(),"Construct property from formula",py::arg("name"),py::arg("formula"),py::arg("comment")="")
.def_property_readonly("name",&storm::jani::Property::getName,"Obtain the name of the property")
.def_property_readonly("raw_formula",&storm::jani::Property::getRawFormula,"Obtain the formula directly");
.def(py::init<std::stringconst&,std::shared_ptr<storm::logic::Formulaconst>const&,std::stringconst&>(),"Construct property from formula",py::arg("name"),py::arg("formula"),py::arg("comment")="")
.def_property_readonly("name",&storm::jani::Property::getName,"Obtain the name of the property")
.def_property_readonly("raw_formula",&storm::jani::Property::getRawFormula,"Obtain the formula directly")
@ -22,11 +19,7 @@ void define_sparse_matrix(py::module& m) {
;
py::class_<storm::storage::MatrixEntry<parametric_entry_index,storm::RationalFunction>>(m,"ParametricSparseMatrixEntry","Entry of parametric sparse matrix")
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::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);
@ -80,10 +105,13 @@ void define_model(py::module& m) {
.def("labels_state",&storm::models::sparse::Model<storm::RationalFunction>::getLabelsOfState,py::arg("state"),"Get labels of state")
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",modelRatFunc)