@ -46,7 +46,7 @@ void define_formulae(py::module& m) {
py::class_<storm::logic::UnaryStateFormula,std::shared_ptr<storm::logic::UnaryStateFormulaconst>>(m,"UnaryStateFormula","State formula with one operand",py::base<storm::logic::StateFormula>());
py::class_<storm::logic::UnaryBooleanStateFormula,std::shared_ptr<storm::logic::UnaryBooleanStateFormulaconst>>(m,"UnaryBooleanStateFormula","Unary boolean state formula",py::base<storm::logic::UnaryStateFormula>());
.def("has_bound",&storm::logic::OperatorFormula::hasBound,"Check if formula is bounded")
.def_property_readonly("has_bound",&storm::logic::OperatorFormula::hasBound,"Flag if formula is bounded")
.def_property("threshold",&storm::logic::OperatorFormula::getThreshold,&storm::logic::OperatorFormula::setThreshold,"Threshold of bound")
.def_property("comparison_type",&storm::logic::OperatorFormula::getComparisonType,&storm::logic::OperatorFormula::setComparisonType,"Comparison type of bound")
py::class_<storm::storage::MatrixEntry<parametric_entry_index,storm::RationalFunction>>(m,"ParametricSparseMatrixEntry","Entry of parametric sparse matrix")
@ -31,7 +31,7 @@ void define_sparse_matrix(py::module& m) {
//def_property threw "pointer being freed not allocated" after exiting
.def_property_readonly("supports_parameters",&storm::models::ModelBase::supportsParameters,"Flag whether model supports parameters")
.def_property_readonly("has_parameters",&storm::models::ModelBase::hasParameters,"Flag whether model has parameters")
.def_property_readonly("is_exact",&storm::models::ModelBase::isExact,"Flag whether model is exact")
.def("as_dtmc",&storm::models::ModelBase::as<storm::models::sparse::Dtmc<double>>,"Get model as DTMC")
.def("as_pdtmc",&storm::models::ModelBase::as<storm::models::sparse::Dtmc<storm::RationalFunction>>,"Get model as pDTMC")
.def("as_mdp",&storm::models::ModelBase::as<storm::models::sparse::Mdp<double>>,"Get model as MDP")
@ -49,12 +49,12 @@ 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::Dtmc<double>,std::shared_ptr<storm::models::sparse::Dtmc<double>>>(m,"SparseDtmc","DTMC in sparse representation",py::base<storm::models::sparse::Model<double>>())
;
@ -63,12 +63,12 @@ void define_model(py::module& m) {
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::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>>())