瀏覽代碼

Added outline of the plant_to_EPN transformation

Yentl Van Tendeloo 8 年之前
父節點
當前提交
9d5e57128c
共有 1 個文件被更改,包括 41 次插入0 次删除
  1. 41 0
      models/plant_to_EPN.mvc

+ 41 - 0
models/plant_to_EPN.mvc

@@ -0,0 +1,41 @@
+include "primitives.alh"
+
+A B {
+    Composite schedule {
+        {Contains} Success success {}
+        {Contains} Failure failure {}
+        {Contains} Atomic init_ports {
+
+        }
+        {Contains} ForAll create_states {
+
+        }
+        {Contains} ForAll command_transition {
+
+        }
+        {Contains} ForAll check_object {
+
+        }
+        {Contains} ForAll detect {
+
+        }
+        {Contains} ForAll remove_detect {
+
+        }
+    }
+    Initial (schedule, init_ports) {}
+
+    OnSuccess (init_ports, create_states) {}
+    OnSuccess (create_states, command_transition) {}
+    OnSuccess (command_transition, check_object) {}
+    OnSuccess (check_object, detect) {}
+    OnSuccess (detect, remove_detect) {}
+    OnSuccess (remove_detect, success) {}
+
+    OnFailure (init_ports, create_states) {}
+    OnFailure (create_states, command_transition) {}
+    OnFailure (command_transition, check_object) {}
+    OnFailure (check_object, detect) {}
+    OnFailure (detect, remove_detect) {}
+    OnFailure (remove_detect, success) {}
+}