|
@@ -18,17 +18,27 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "ResourceHandler"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/InputPort post_resource_2 {
|
|
|
label = "2"
|
|
|
- name = "resource_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_resource_1, post_resource_2) {
|
|
|
label = "3"
|
|
|
}
|
|
|
Post_DEVS/OutputPort post_resource_3 {
|
|
|
label = "4"
|
|
|
- name = "resource_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_resource_1, post_resource_3) {
|
|
|
label = "5"
|
|
@@ -57,30 +67,37 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "Initial"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_init_0, post_init_1) {
|
|
|
- label = "1"
|
|
|
+ label = "2"
|
|
|
}
|
|
|
|
|
|
Post_DEVS/OutputPort post_init_2 {
|
|
|
- label = "2"
|
|
|
- name = "control_out"
|
|
|
+ label = "3"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_init_1, post_init_2) {
|
|
|
- label = "3"
|
|
|
+ label = "4"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
{Contains} ForAll finish {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_finish_0 {
|
|
|
+ Pre_PM/Finish pre_finish_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_finish_0 {
|
|
|
+ Post_PM/Finish post_finish_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_finish_1 {
|
|
@@ -93,6 +110,10 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "Finish"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_finish_0, post_finish_1) {
|
|
|
label = "2"
|
|
@@ -100,7 +121,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_finish_2 {
|
|
|
label = "3"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_finish_1, post_finish_2) {
|
|
|
label = "4"
|
|
@@ -110,13 +134,13 @@ Composite schedule {
|
|
|
|
|
|
{Contains} ForAll activity {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_activity_0 {
|
|
|
+ Pre_PM/Activity pre_activity_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_activity_0 {
|
|
|
+ Post_PM/Activity post_activity_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_activity_1 {
|
|
@@ -135,52 +159,64 @@ Composite schedule {
|
|
|
$
|
|
|
}
|
|
|
Post_Trace (post_activity_0, post_activity_1) {
|
|
|
- label = "1"
|
|
|
+ label = "2"
|
|
|
}
|
|
|
|
|
|
Post_DEVS/InputPort post_activity_2 {
|
|
|
- label = "2"
|
|
|
- name = "resource_in"
|
|
|
+ label = "3"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_activity_1, post_activity_2) {
|
|
|
- label = "2"
|
|
|
+ label = "4"
|
|
|
}
|
|
|
|
|
|
Post_DEVS/OutputPort post_activity_3 {
|
|
|
- label = "3"
|
|
|
- name = "resource_out"
|
|
|
+ label = "5"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_activity_1, post_activity_3) {
|
|
|
- label = "4"
|
|
|
+ label = "6"
|
|
|
}
|
|
|
|
|
|
Post_DEVS/InputPort post_activity_4 {
|
|
|
- label = "5"
|
|
|
- name = "control_in"
|
|
|
+ label = "7"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_activity_1, post_activity_4) {
|
|
|
- label = "6"
|
|
|
+ label = "8"
|
|
|
}
|
|
|
|
|
|
Post_DEVS/OutputPort post_activity_5 {
|
|
|
- label = "7"
|
|
|
- name = "control_out"
|
|
|
+ label = "9"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_activity_1, post_activity_5) {
|
|
|
- label = "8"
|
|
|
+ label = "10"
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
{Contains} ForAll parallelsplit {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_split_0 {
|
|
|
+ Pre_PM/ParallelSplit pre_split_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_split_0 {
|
|
|
+ Post_PM/ParallelSplit post_split_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_split_1 {
|
|
@@ -193,6 +229,10 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "ParallelSplit"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_split_0, post_split_1) {
|
|
|
label = "2"
|
|
@@ -200,7 +240,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_split_2 {
|
|
|
label = "3"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_split_1, post_split_2) {
|
|
|
label = "4"
|
|
@@ -208,7 +251,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_split_3 {
|
|
|
label = "5"
|
|
|
- name = "control_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_split_1, post_split_3) {
|
|
|
label = "6"
|
|
@@ -218,13 +264,13 @@ Composite schedule {
|
|
|
|
|
|
{Contains} ForAll synchronization {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_sync_0 {
|
|
|
+ Pre_PM/Synchronization pre_sync_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_sync_0 {
|
|
|
+ Post_PM/Synchronization post_sync_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_sync_1 {
|
|
@@ -237,6 +283,10 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "Synchronization"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_sync_0, post_sync_1) {
|
|
|
label = "2"
|
|
@@ -244,7 +294,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_sync_2 {
|
|
|
label = "3"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_sync_1, post_sync_2) {
|
|
|
label = "4"
|
|
@@ -252,7 +305,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_sync_3 {
|
|
|
label = "5"
|
|
|
- name = "control_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_sync_1, post_sync_3) {
|
|
|
label = "6"
|
|
@@ -262,13 +318,13 @@ Composite schedule {
|
|
|
|
|
|
{Contains} ForAll xor {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_xor_0 {
|
|
|
+ Pre_PM/ExclusiveChoice pre_xor_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_xor_0 {
|
|
|
+ Post_PM/ExclusiveChoice post_xor_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_xor_1 {
|
|
@@ -281,6 +337,10 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "ExclusiveChoice"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_xor_0, post_xor_1) {
|
|
|
label = "2"
|
|
@@ -288,7 +348,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_xor_2 {
|
|
|
label = "3"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_xor_1, post_xor_2) {
|
|
|
label = "4"
|
|
@@ -296,14 +359,20 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_xor_3 {
|
|
|
label = "5"
|
|
|
- name = "control_out1"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out1"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_xor_1, post_xor_3) {
|
|
|
label = "6"
|
|
|
}
|
|
|
Post_DEVS/OutputPort post_xor_4 {
|
|
|
label = "7"
|
|
|
- name = "control_out2"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out2"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_xor_1, post_xor_4) {
|
|
|
label = "8"
|
|
@@ -313,13 +382,13 @@ Composite schedule {
|
|
|
|
|
|
{Contains} ForAll merge {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_merge_0 {
|
|
|
+ Pre_PM/SimpleMerge pre_merge_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_merge_0 {
|
|
|
+ Post_PM/SimpleMerge post_merge_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_merge_1 {
|
|
@@ -332,6 +401,10 @@ Composite schedule {
|
|
|
String function value(model : Element, name : String, mapping : Element):
|
|
|
return "SimpleMerge"!
|
|
|
$
|
|
|
+ value_parameters = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "[]"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_Trace (post_merge_0, post_merge_1) {
|
|
|
label = "2"
|
|
@@ -339,7 +412,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_merge_2 {
|
|
|
label = "3"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_merge_1, post_merge_2) {
|
|
|
label = "4"
|
|
@@ -347,7 +423,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_merge_3 {
|
|
|
label = "5"
|
|
|
- name = "control_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_merge_1, post_merge_3) {
|
|
|
label = "6"
|
|
@@ -357,13 +436,13 @@ Composite schedule {
|
|
|
|
|
|
{Contains} ForAll multi {
|
|
|
LHS {
|
|
|
- Pre_PM/Initial pre_multi_0 {
|
|
|
+ Pre_PM/MultiInstance pre_multi_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
|
- Post_PM/Initial post_multi_0 {
|
|
|
+ Post_PM/MultiInstance post_multi_0 {
|
|
|
label = "0"
|
|
|
}
|
|
|
Post_DEVS/DEVSInstance post_multi_1 {
|
|
@@ -387,7 +466,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_multi_2 {
|
|
|
label = "3"
|
|
|
- name = "resource_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_multi_1, post_multi_2) {
|
|
|
label = "4"
|
|
@@ -395,7 +477,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_multi_3 {
|
|
|
label = "5"
|
|
|
- name = "resource_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "resource_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_multi_1, post_multi_3) {
|
|
|
label = "6"
|
|
@@ -403,7 +488,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/InputPort post_multi_4 {
|
|
|
label = "7"
|
|
|
- name = "control_in"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_in"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_multi_1, post_multi_4) {
|
|
|
label = "8"
|
|
@@ -411,7 +499,10 @@ Composite schedule {
|
|
|
|
|
|
Post_DEVS/OutputPort post_multi_5 {
|
|
|
label = "9"
|
|
|
- name = "control_out"
|
|
|
+ value_name = $
|
|
|
+ String function value(model : Element, name : String, mapping : Element):
|
|
|
+ return "control_out"!
|
|
|
+ $
|
|
|
}
|
|
|
Post_DEVS/DEVSInstanceToPort (post_multi_1, post_multi_5) {
|
|
|
label = "10"
|
|
@@ -423,16 +514,16 @@ Composite schedule {
|
|
|
LHS {
|
|
|
Pre_DEVS/DEVSInstance pre_mrt_0 {
|
|
|
label = "0"
|
|
|
- constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "ResourceHandler")!
|
|
|
+ constraint_type = $
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "ResourceHandler"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/Port pre_mrt_1 {
|
|
|
label = "1"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "resource_in")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "resource_in"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mrt_0, pre_mrt_1) {
|
|
@@ -441,16 +532,16 @@ Composite schedule {
|
|
|
|
|
|
Pre_DEVS/DEVSInstance pre_mrt_2 {
|
|
|
label = "3"
|
|
|
- constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) != "ResourceHandler")!
|
|
|
+ constraint_type = $
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value != "ResourceHandler"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/Port pre_mrt_3 {
|
|
|
label = "4"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "resource_out")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "resource_out"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mrt_2, pre_mrt_3) {
|
|
@@ -489,16 +580,16 @@ Composite schedule {
|
|
|
LHS {
|
|
|
Pre_DEVS/DEVSInstance pre_mrf_0 {
|
|
|
label = "0"
|
|
|
- constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "ResourceHandler")!
|
|
|
+ constraint_type = $
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "ResourceHandler"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/Port pre_mrf_1 {
|
|
|
label = "1"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "resource_out")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "resource_out"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mrf_0, pre_mrf_1) {
|
|
@@ -507,16 +598,16 @@ Composite schedule {
|
|
|
|
|
|
Pre_DEVS/DEVSInstance pre_mrf_2 {
|
|
|
label = "3"
|
|
|
- constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) != "ResourceHandler")!
|
|
|
+ constraint_type = $
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value != "ResourceHandler"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/Port pre_mrf_3 {
|
|
|
label = "4"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "resource_in")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "resource_in"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mrf_2, pre_mrf_3) {
|
|
@@ -559,8 +650,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_map_1 {
|
|
|
label = "1"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_out")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_out"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_map_0, pre_map_1) {
|
|
@@ -573,8 +664,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_map_3 {
|
|
|
label = "4"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_in")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_in"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_map_2, pre_map_3) {
|
|
@@ -589,13 +680,12 @@ Composite schedule {
|
|
|
Pre_PM/ProcessNode pre_map_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Pre_Trace (pre_map_5, pre_map_1) {
|
|
|
+ Pre_Trace (pre_map_5, pre_map_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Pre_PM/Next (pre_map_4, pre_map_5) {
|
|
|
label = "10"
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|
|
|
RHS {
|
|
@@ -628,7 +718,7 @@ Composite schedule {
|
|
|
Post_PM/ProcessNode post_map_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Post_Trace (post_map_5, post_map_1) {
|
|
|
+ Post_Trace (post_map_5, post_map_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Post_PM/Next (post_map_4, post_map_5) {
|
|
@@ -648,8 +738,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_mdt_1 {
|
|
|
label = "1"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_out1")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_out1"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mdt_0, pre_mdt_1) {
|
|
@@ -662,8 +752,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_mdt_3 {
|
|
|
label = "4"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_in")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_in"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mdt_2, pre_mdt_3) {
|
|
@@ -678,7 +768,7 @@ Composite schedule {
|
|
|
Pre_PM/ProcessNode pre_mdt_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Pre_Trace (pre_mdt_5, pre_mdt_1) {
|
|
|
+ Pre_Trace (pre_mdt_5, pre_mdt_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Pre_PM/DecisionTrue (pre_mdt_4, pre_mdt_5) {
|
|
@@ -717,7 +807,7 @@ Composite schedule {
|
|
|
Post_PM/ProcessNode post_mdt_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Post_Trace (post_mdt_5, post_mdt_1) {
|
|
|
+ Post_Trace (post_mdt_5, post_mdt_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Post_PM/DecisionTrue (post_mdt_4, post_mdt_5) {
|
|
@@ -737,8 +827,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_mdf_1 {
|
|
|
label = "1"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_out2")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_out2"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mdf_0, pre_mdf_1) {
|
|
@@ -751,8 +841,8 @@ Composite schedule {
|
|
|
Pre_DEVS/Port pre_mdf_3 {
|
|
|
label = "4"
|
|
|
constraint_name = $
|
|
|
- Boolean function constraint(model : Element, name : String):
|
|
|
- return (cast_string(read_attribute(model, name, "type")) == "control_in")!
|
|
|
+ Boolean function constraint(value : String):
|
|
|
+ return value == "control_in"!
|
|
|
$
|
|
|
}
|
|
|
Pre_DEVS/DEVSInstanceToPort (pre_mdf_2, pre_mdf_3) {
|
|
@@ -767,7 +857,7 @@ Composite schedule {
|
|
|
Pre_PM/ProcessNode pre_mdf_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Pre_Trace (pre_mdf_5, pre_mdf_1) {
|
|
|
+ Pre_Trace (pre_mdf_5, pre_mdf_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Pre_PM/DecisionFalse (pre_mdf_4, pre_mdf_5) {
|
|
@@ -805,7 +895,7 @@ Composite schedule {
|
|
|
Post_PM/ProcessNode post_mdf_5 {
|
|
|
label = "8"
|
|
|
}
|
|
|
- Post_Trace (post_mdf_5, post_mdf_1) {
|
|
|
+ Post_Trace (post_mdf_5, post_mdf_2) {
|
|
|
label = "9"
|
|
|
}
|
|
|
Post_PM/DecisionFalse (post_mdf_4, post_mdf_5) {
|
|
@@ -820,8 +910,11 @@ Composite schedule {
|
|
|
|
|
|
Initial (schedule, initial) {}
|
|
|
|
|
|
-OnSuccess (initial, finish) {}
|
|
|
-OnFailure (initial, finish) {}
|
|
|
+OnSuccess (initial, add_resource_handler) {}
|
|
|
+OnFailure (initial, add_resource_handler) {}
|
|
|
+
|
|
|
+OnSuccess (add_resource_handler, finish) {}
|
|
|
+OnFailure (add_resource_handler, finish) {}
|
|
|
|
|
|
OnSuccess (finish, activity) {}
|
|
|
OnFailure (finish, activity) {}
|