.def("to_dot",[](SparseModel<RationalFunction>&model){std::stringstreamss;model.writeDotToStream(ss);returnss.str();},"Write dot to a string")
.def("to_dot",[](SparseModel<RationalFunction>&model){std::stringstreamss;model.writeDotToStream(ss);returnss.str();},"Write dot to a string")
;
;
py::class_<SparseDtmc<RationalFunction>,std::shared_ptr<SparseDtmc<RationalFunction>>>(m,"SparseParametricDtmc","pDTMC in sparse representation",modelRatFunc)
py::class_<SparseDtmc<RationalFunction>,std::shared_ptr<SparseDtmc<RationalFunction>>>(m,"SparseParametricDtmc","pDTMC in sparse representation",modelRatFunc)
py::class_<SparseMdp<RationalFunction>,std::shared_ptr<SparseMdp<RationalFunction>>>(m,"SparseParametricMdp","pMDP in sparse representation",modelRatFunc)
py::class_<SparseMdp<RationalFunction>,std::shared_ptr<SparseMdp<RationalFunction>>>(m,"SparseParametricMdp","pMDP in sparse representation",modelRatFunc)
py::class_<SparseCtmc<RationalFunction>,std::shared_ptr<SparseCtmc<RationalFunction>>>(m,"SparseParametricCtmc","pCTMC in sparse representation",modelRatFunc)
py::class_<SparseCtmc<RationalFunction>,std::shared_ptr<SparseCtmc<RationalFunction>>>(m,"SparseParametricCtmc","pCTMC in sparse representation",modelRatFunc)
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)
py::class_<SparseRewardModel<RationalFunction>>(m,"SparseParametricRewardModel","Reward structure for parametric sparse models")
py::class_<SparseRewardModel<RationalFunction>>(m,"SparseParametricRewardModel","Reward structure for parametric sparse models")
@ -308,19 +291,19 @@ void define_symbolic_model(py::module& m, std::string vt_suffix) {
.def_property_readonly("initial_states",&SymbolicModel<DdType,double>::getInitialStates,"initial states as DD")
.def_property_readonly("initial_states",&SymbolicModel<DdType,double>::getInitialStates,"initial states as DD")
.def("get_states",[](SymbolicModel<DdType,double>const&model,storm::expressions::Expressionconst&expr){returnmodel.getStates(expr);},py::arg("expression"),"Get states that are described by the expression")
.def("get_states",[](SymbolicModel<DdType,double>const&model,storm::expressions::Expressionconst&expr){returnmodel.getStates(expr);},py::arg("expression"),"Get states that are described by the expression")
py::class_<SymbolicDtmc<DdType,double>,std::shared_ptr<SymbolicDtmc<DdType,double>>>(m,(prefixClassName+"Dtmc").c_str(),"DTMC in symbolic representation",model)
py::class_<SymbolicDtmc<DdType,double>,std::shared_ptr<SymbolicDtmc<DdType,double>>>(m,(prefixClassName+"Dtmc").c_str(),"DTMC in symbolic representation",model)
py::class_<SymbolicMdp<DdType,double>,std::shared_ptr<SymbolicMdp<DdType,double>>>(m,(prefixClassName+"Mdp").c_str(),"MDP in symbolic representation",model)
py::class_<SymbolicMdp<DdType,double>,std::shared_ptr<SymbolicMdp<DdType,double>>>(m,(prefixClassName+"Mdp").c_str(),"MDP in symbolic representation",model)
py::class_<SymbolicCtmc<DdType,double>,std::shared_ptr<SymbolicCtmc<DdType,double>>>(m,(prefixClassName+"Ctmc").c_str(),"CTMC in symbolic representation",model)
py::class_<SymbolicCtmc<DdType,double>,std::shared_ptr<SymbolicCtmc<DdType,double>>>(m,(prefixClassName+"Ctmc").c_str(),"CTMC in symbolic representation",model)
py::class_<SymbolicMarkovAutomaton<DdType,double>,std::shared_ptr<SymbolicMarkovAutomaton<DdType,double>>>(m,(prefixClassName+"MA").c_str(),"MA in symbolic representation",model)
py::class_<SymbolicMarkovAutomaton<DdType,double>,std::shared_ptr<SymbolicMarkovAutomaton<DdType,double>>>(m,(prefixClassName+"MA").c_str(),"MA in symbolic representation",model)
.def("__str__",getModelInfoPrinter<double>("MA"))
.def("__str__",&getModelInfoPrinter)
;
;
py::class_<SymbolicRewardModel<DdType,double>>(m,(prefixClassName+"RewardModel").c_str(),"Reward structure for symbolic models")
py::class_<SymbolicRewardModel<DdType,double>>(m,(prefixClassName+"RewardModel").c_str(),"Reward structure for symbolic models")
@ -338,20 +321,20 @@ void define_symbolic_model(py::module& m, std::string vt_suffix) {
.def_property_readonly("initial_states",&SymbolicModel<DdType,RationalFunction>::getInitialStates,"initial states as DD")
.def_property_readonly("initial_states",&SymbolicModel<DdType,RationalFunction>::getInitialStates,"initial states as DD")
.def("get_states",[](SymbolicModel<DdType,RationalFunction>const&model,storm::expressions::Expressionconst&expr){returnmodel.getStates(expr);},py::arg("expression"),"Get states that are described by the expression")
.def("get_states",[](SymbolicModel<DdType,RationalFunction>const&model,storm::expressions::Expressionconst&expr){returnmodel.getStates(expr);},py::arg("expression"),"Get states that are described by the expression")
py::class_<SymbolicDtmc<DdType,RationalFunction>,std::shared_ptr<SymbolicDtmc<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Dtmc").c_str(),"pDTMC in symbolic representation",modelRatFunc)
py::class_<SymbolicDtmc<DdType,RationalFunction>,std::shared_ptr<SymbolicDtmc<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Dtmc").c_str(),"pDTMC in symbolic representation",modelRatFunc)
py::class_<SymbolicMdp<DdType,RationalFunction>,std::shared_ptr<SymbolicMdp<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Mdp").c_str(),"pMDP in symbolic representation",modelRatFunc)
py::class_<SymbolicMdp<DdType,RationalFunction>,std::shared_ptr<SymbolicMdp<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Mdp").c_str(),"pMDP in symbolic representation",modelRatFunc)
py::class_<SymbolicCtmc<DdType,RationalFunction>,std::shared_ptr<SymbolicCtmc<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Ctmc").c_str(),"pCTMC in symbolic representation",modelRatFunc)
py::class_<SymbolicCtmc<DdType,RationalFunction>,std::shared_ptr<SymbolicCtmc<DdType,RationalFunction>>>(m,(prefixParametricClassName+"Ctmc").c_str(),"pCTMC in symbolic representation",modelRatFunc)
py::class_<SymbolicMarkovAutomaton<DdType,RationalFunction>,std::shared_ptr<SymbolicMarkovAutomaton<DdType,RationalFunction>>>(m,(prefixParametricClassName+"MA").c_str(),"pMA in symbolic representation",modelRatFunc)
py::class_<SymbolicMarkovAutomaton<DdType,RationalFunction>,std::shared_ptr<SymbolicMarkovAutomaton<DdType,RationalFunction>>>(m,(prefixParametricClassName+"MA").c_str(),"pMA in symbolic representation",modelRatFunc)