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.

31 lines
1.7 KiB

  1. #include "common.h"
  2. #include "shields/abstract_shield.h"
  3. #include "shields/optimal_shield.h"
  4. #include "shields/post_shield.h"
  5. #include "shields/pre_shield.h"
  6. #include "shields/shield_handling.h"
  7. #include "storm/storage/Scheduler.h"
  8. #include "storm/storage/SchedulerChoice.h"
  9. #include "storm/storage/BitVector.h"
  10. #include "storm/storage/Distribution.h"
  11. PYBIND11_MODULE(shields, m) {
  12. m.doc() = "shields";
  13. #ifdef STORMPY_DISABLE_SIGNATURE_DOC
  14. py::options options;
  15. options.disable_function_signatures();
  16. #endif
  17. define_abstract_shield<double, typename storm::storage::SparseMatrix<double>::index_type>(m, "Double");
  18. define_abstract_shield<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(m, "Exact");
  19. define_pre_shield<double, typename storm::storage::SparseMatrix<double>::index_type>(m, "Double");
  20. define_pre_shield<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(m, "Exact");
  21. define_post_shield<double, typename storm::storage::SparseMatrix<double>::index_type>(m, "Double");
  22. define_post_shield<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(m, "Exact");
  23. define_optimal_shield<double, typename storm::storage::SparseMatrix<double>::index_type>(m, "Double");
  24. define_optimal_shield<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(m, "Exact");
  25. define_shield_handling<double, typename storm::storage::SparseMatrix<double>::index_type>(m, "Double");
  26. define_shield_handling<storm::RationalNumber, typename storm::storage::SparseMatrix<storm::RationalNumber>::index_type>(m, "Exact");
  27. }