12a-fastfood.apt 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. .name "12a"
  2. .type PN
  3. .places
  4. counter-order
  5. counter-take
  6. drive-thru-start
  7. drive-thru-end
  8. drive-thru-order
  9. drive-thru-pay
  10. drive-thru-take
  11. terminal
  12. entrance
  13. empl.-free
  14. counter-end
  15. counter-order-buffer
  16. terminal-buffer
  17. counter-waiting
  18. counter-buffer
  19. drive-thru-order-buffer
  20. drive-thru-pay-buffer
  21. drive-thru-take-buffer
  22. empl.-busy
  23. empl.-done
  24. pay
  25. .transitions
  26. order
  27. pay
  28. drive
  29. order
  30. order
  31. take
  32. take
  33. next
  34. distrib.
  35. next
  36. next
  37. begone
  38. begone
  39. busy
  40. done
  41. done
  42. .flows
  43. order: {1*drive-thru-order, 1*drive-thru-pay-buffer, 1*empl.-busy} -> {1*drive-thru-pay, 1*drive-thru-order-buffer}
  44. pay: {1*drive-thru-pay, 1*drive-thru-take-buffer, 1*empl.-busy} -> {1*drive-thru-take, 1*drive-thru-pay-buffer, 1*empl.-done}
  45. drive: {1*drive-thru-start, 1*drive-thru-order-buffer} -> {1*drive-thru-order}
  46. order: {2*terminal} -> {1*terminal-buffer, 1*counter-waiting}
  47. order: {2*counter-order, 1*empl.-busy} -> {1*counter-order-buffer, 1*pay}
  48. take: {1*drive-thru-take, 1*empl.-busy} -> {1*drive-thru-end, 1*drive-thru-take-buffer, 1*empl.-done}
  49. take: {1*counter-take, 1*empl.-busy} -> {1*counter-end, 1*counter-buffer}
  50. next: {1*terminal-buffer} -> {1*terminal}
  51. distrib.: {1*entrance} -> {1*counter-waiting, 1*counter-order, 1*terminal}
  52. next: {1*counter-order-buffer} -> {1*counter-order}
  53. next: {1*counter-waiting, 1*counter-buffer} -> {1*counter-take}
  54. begone: {1*counter-end} -> {1*empl.-done}
  55. begone: {1*drive-thru-end} -> {1*empl.-done}
  56. busy: {1*empl.-free} -> {1*empl.-busy}
  57. done: {1*empl.-done} -> {1*empl.-free}
  58. done: {1*pay} -> {1*counter-waiting, 1*empl.-done}
  59. .initial_marking {2*drive-thru-start, 1*terminal, 2*entrance, 2*empl.-free, 1*counter-order-buffer, 1*terminal-buffer, 1*counter-waiting, 1*counter-buffer, 1*drive-thru-order-buffer, 1*drive-thru-pay-buffer, 1*drive-thru-take-buffer, 1*pay}