plant_to_EPN.mvc 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. include "primitives.alh"
  2. A B {
  3. Composite schedule {
  4. {Contains} Success success {}
  5. {Contains} Failure failure {}
  6. {Contains} Atomic init_ports {
  7. }
  8. {Contains} ForAll create_states {
  9. }
  10. {Contains} ForAll command_transition {
  11. }
  12. {Contains} ForAll check_object {
  13. }
  14. {Contains} ForAll detect {
  15. }
  16. {Contains} ForAll remove_detect {
  17. }
  18. }
  19. Initial (schedule, init_ports) {}
  20. OnSuccess (init_ports, create_states) {}
  21. OnSuccess (create_states, command_transition) {}
  22. OnSuccess (command_transition, check_object) {}
  23. OnSuccess (check_object, detect) {}
  24. OnSuccess (detect, remove_detect) {}
  25. OnSuccess (remove_detect, success) {}
  26. OnFailure (init_ports, create_states) {}
  27. OnFailure (create_states, command_transition) {}
  28. OnFailure (command_transition, check_object) {}
  29. OnFailure (check_object, detect) {}
  30. OnFailure (detect, remove_detect) {}
  31. OnFailure (remove_detect, success) {}
  32. }