You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
758 B

  1. #include "shield_handling.h"
  2. #include "storm/shields/ShieldHandling.h"
  3. #include "storm/api/export.h"
  4. template <typename ValueType, typename IndexType>
  5. void define_shield_handling(py::module& m, std::string vt_suffix) {
  6. std::string shieldHandlingname = std::string("export_shield");
  7. m.def(shieldHandlingname.c_str(), &storm::api::exportShield<ValueType, IndexType>, py::arg("model"), py::arg("shield"), py::arg("filename"));
  8. }
  9. template void define_shield_handling<double, typename storm::storage::SparseMatrix<double>::index_type>(py::module& m, std::string vt_suffix);
  10. template void define_shield_handling<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(py::module& m, std::string vt_suffix);