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.

51 lines
1.9 KiB

  1. #!/bin/bash
  2. executable="timeout 3600 ../build/src/storm"
  3. arguments="-i 1000000 --parametric --parametricRegion --region:samplemode off"
  4. mkdir plotresults
  5. declare -a brpPars=("16" "128" "256" "384" "512" "640" "768" "896" "1024" "1152" "1280" "1408" "1536" "1664" "1792" "1920" "2048" "2176" "2304" "2432" "2560" "2688" "2816" "2944" "3072" "3200" "3328" "3456" "3584" "3712" "3840" "3968" "4096")
  6. declare -a repPars=("3" "6" "9" "12" "15" "18" "21" "24" "27" "30" "33" "36" "39" "42" "45" "48" "51" "54" "57" "60" "63" "66" "69" "72" "75" "78" "81" "84" "87" "90" "93" "96" "99" "100")
  7. plot_brp2 () {
  8. for brp2par in "${brpPars[@]}"
  9. do
  10. $executable -s ./pdtmc/brp_rewards2/brp_rewards2.pm -const N="$brp2par",MAX=5 --prop ./pdtmc/brp_rewards2/brp_rewards2.prctl --region:regionfile ./pdtmc/brp_rewards2/brp_rewards2_regions.txt $arguments | tee -a ./plotresults/pdtmc_brp_rewards2.log
  11. done
  12. }
  13. plot_brp4 () {
  14. for brp4par in "${brpPars[@]}"
  15. do
  16. $executable -s ./pdtmc/brp_rewards4/brp_rewards4.pm -const N="$brp4par",MAX=5 --prop ./pdtmc/brp_rewards4/brp_rewards4.prctl --region:regionfile ./pdtmc/brp_rewards4/brp_rewards4_regions.txt $arguments | tee -a ./plotresults/pdtmc_brp_rewards4.log
  17. done
  18. }
  19. plot_rep2 () {
  20. for rep2par in "${repPars[@]}"
  21. do
  22. $executable -s ./pmdp/reporter2/reporter2.pm -const Xsize="$rep2par",Ysize="$rep2par",MAXTRIES=2,B=2 --prop ./pmdp/reporter2/reporter2.prctl --region:regionfile ./pmdp/reporter2/reporter2_regions.txt $arguments | tee -a ./plotresults/pmdp_reporter2.log
  23. done
  24. }
  25. plot_rep4 () {
  26. for rep4par in "${repPars[@]}"
  27. do
  28. $executable -s ./pmdp/reporter4/reporter4.pm -const Xsize="$rep4par",Ysize="$rep4par",MAXTRIES=2,B=2 --prop ./pmdp/reporter4/reporter4.prctl --region:regionfile ./pmdp/reporter4/reporter4_regions.txt $arguments | tee -a ./plotresults/pmdp_reporter4.log
  29. done
  30. }
  31. plot_brp2 &
  32. plot_brp4 &
  33. plot_rep2 &
  34. plot_rep4 &
  35. wait
  36. echo "done!"