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.

54 lines
1.2 KiB

  1. ---
  2. labels:
  3. - label: "AgentIsInGoal"
  4. text: "AgentIsInGoal"
  5. constants:
  6. - constant: "prop_slippery_turn"
  7. type: "double"
  8. value: "9/9"
  9. overwrite: True
  10. - constant: "prop_next_neighbour_turn"
  11. type: "double"
  12. value: "0/9"
  13. overwrite: True
  14. - constant: "prop_slippery_move_forward"
  15. type: "double"
  16. value: "3/4"
  17. overwrite: True
  18. - constant: "prop_direct_neighbour"
  19. type: "double"
  20. value: "1/4"
  21. - constant: "prop_next_neighbour"
  22. type: "double"
  23. value: "1/8"
  24. overwrite: True
  25. - constant: "total_prop"
  26. type: "double"
  27. value: "4"
  28. overwrite: True
  29. probabilities:
  30. - probability: "FaultProbability"
  31. value: 0.1
  32. - probability: "ProbForwardIntended"
  33. value: 0.1
  34. - probability: "ProbTurnIntended"
  35. value: 0.1
  36. modules:
  37. - module: "Agent"
  38. commands:
  39. - action: "[Agent_turn_left]"
  40. guard: "AgentIsOnSlippery"
  41. update: "True"
  42. overwrite: True
  43. ...
  44. const double prop_zero = 0/9;
  45. const double prop_next_neighbour = 1/9;
  46. const double prop_slippery_move_forward = 7/9;
  47. const double prop_slippery_turn = 6/9;
  48. const double prop_next_neighbour_turn = 1/9;
  49. const double prop_direct_neighbour = 2/9;
  50. const double total_prop = 9;