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::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);
@ -71,7 +71,7 @@ void define_model(py::module& m) {
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::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>>>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::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);
@ -88,11 +88,10 @@ void define_model(py::module& m) {
}
}
// Model instantiator
voiddefine_model_instantiator(py::module&m){
voiddefine_model_instantiator(py::module&m){
py::class_<storm::utility::ModelInstantiator<storm::models::sparse::Dtmc<storm::RationalFunction>,storm::models::sparse::Dtmc<double>>>(m,"PdtmcInstantiator","Instantiate PDTMCs to DTMCs")
py::class_<storm::utility::ModelInstantiator<storm::models::sparse::Dtmc<storm::RationalFunction>,storm::models::sparse::Dtmc<double>>>(m,"PdtmcInstantiator","Instantiate PDTMCs to DTMCs")
.def("instantiate",&storm::utility::ModelInstantiator<storm::models::sparse::Dtmc<storm::RationalFunction>,storm::models::sparse::Dtmc<double>>::instantiate,"Instantiate model with given parameter values");
.def("instantiate",&storm::utility::ModelInstantiator<storm::models::sparse::Dtmc<storm::RationalFunction>,storm::models::sparse::Dtmc<double>>::instantiate,"Instantiate model with given parameter values");