123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050 |
- include "primitives.alh"
- include "modelling.alh"
- include "object_operations.alh"
- Composite schedule {
- {Contains} Success success {}
- {Contains} Atomic add_resource_handler {
- LHS {}
- RHS {
- Post_DEVS/DEVSInstance post_resource_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return "resource_handler"!
- $
- value_type = $
- 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"
- 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"
- 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"
- }
- }
- }
- {Contains} Atomic root_model {
- LHS {}
- RHS {
- Post_DEVS/CoupledDEVSBlock post_root_0 {
- label = "0"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return "Root"!
- $
- }
- }
- }
-
- {Contains} ForAll initial {
- LHS {
- Pre_PM/Initial pre_init_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_init_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/Initial post_init_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_init_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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 = "2"
- }
- Post_DEVS/OutputPort post_init_2 {
- 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 = "4"
- }
- Post_DEVS/CoupledDEVSBlock post_init_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_init_999, post_init_1) {
- label = "submodel"
- }
- }
- }
-
- {Contains} ForAll finish {
- LHS {
- Pre_PM/Finish pre_finish_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_finish_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/Finish post_finish_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_finish_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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"
- }
- Post_DEVS/InputPort post_finish_2 {
- label = "3"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_finish_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_finish_999, post_finish_1) {
- label = "submodel"
- }
- }
- }
-
- {Contains} ForAll activity {
- LHS {
- Pre_PM/Activity pre_activity_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_activity_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/Activity post_activity_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_activity_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- String function value(model : Element, name : String, mapping : Element):
- return "Activity"!
- $
- value_parameters = $
- String function value(model : Element, name : String, mapping : Element):
- return "[" + cast_value(read_attribute(model, mapping["0"], "name")) + ", " + cast_string(read_attribute(model, mapping["0"], "distribution")) + "]"!
- $
- }
- Post_Trace (post_activity_0, post_activity_1) {
- label = "2"
- }
- Post_DEVS/InputPort post_activity_2 {
- 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 = "4"
- }
- Post_DEVS/OutputPort post_activity_3 {
- 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 = "6"
- }
- Post_DEVS/InputPort post_activity_4 {
- 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 = "8"
- }
- Post_DEVS/OutputPort post_activity_5 {
- 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 = "10"
- }
- Post_DEVS/CoupledDEVSBlock post_activity_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_activity_999, post_activity_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll parallelsplit {
- LHS {
- Pre_PM/ParallelSplit pre_split_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_split_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/ParallelSplit post_split_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_split_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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"
- }
- Post_DEVS/InputPort post_split_2 {
- label = "3"
- 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"
- }
- Post_DEVS/OutputPort post_split_3 {
- label = "5"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_split_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_split_999, post_split_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll synchronization {
- LHS {
- Pre_PM/Synchronization pre_sync_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_sync_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/Synchronization post_sync_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_sync_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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"
- }
- Post_DEVS/InputPort post_sync_2 {
- label = "3"
- 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"
- }
- Post_DEVS/OutputPort post_sync_3 {
- label = "5"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_sync_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_sync_999, post_sync_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll xor {
- LHS {
- Pre_PM/ExclusiveChoice pre_xor_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_xor_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/ExclusiveChoice post_xor_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_xor_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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"
- }
- Post_DEVS/InputPort post_xor_2 {
- label = "3"
- 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"
- }
- Post_DEVS/OutputPort post_xor_3 {
- label = "5"
- 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"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_xor_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_xor_999, post_xor_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll merge {
- LHS {
- Pre_PM/SimpleMerge pre_merge_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_merge_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/SimpleMerge post_merge_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_merge_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- 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"
- }
- Post_DEVS/InputPort post_merge_2 {
- label = "3"
- 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"
- }
- Post_DEVS/OutputPort post_merge_3 {
- label = "5"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_merge_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_merge_999, post_merge_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll multi {
- LHS {
- Pre_PM/MultiInstance pre_multi_0 {
- label = "0"
- }
- Pre_DEVS/CoupledDEVSBlock pre_multi_999 {
- label = "root"
- }
- }
- RHS {
- Post_PM/MultiInstance post_multi_0 {
- label = "0"
- }
- Post_DEVS/DEVSInstance post_multi_1 {
- label = "1"
- value_name = $
- String function value(model : Element, name : String, mapping : Element):
- return read_attribute(model, mapping["0"], "name")!
- $
- value_type = $
- String function value(model : Element, name : String, mapping : Element):
- return "MultiInstance"!
- $
- value_parameters = $
- String function value(model : Element, name : String, mapping : Element):
- return "[" + cast_value(read_attribute(model, mapping["0"], "name")) + ", " + cast_string(read_attribute(model, mapping["0"], "nr_instances")) + ", " + cast_string(read_attribute(model, mapping["0"], "distribution")) + "]"!
- $
- }
- Post_Trace (post_multi_0, post_multi_1) {
- label = "2"
- }
- Post_DEVS/InputPort post_multi_2 {
- label = "3"
- 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"
- }
- Post_DEVS/OutputPort post_multi_3 {
- label = "5"
- 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"
- }
- Post_DEVS/InputPort post_multi_4 {
- label = "7"
- 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"
- }
- Post_DEVS/OutputPort post_multi_5 {
- label = "9"
- 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"
- }
- Post_DEVS/CoupledDEVSBlock post_multi_999 {
- label = "root"
- }
- Post_DEVS/SubModel (post_multi_999, post_multi_1) {
- label = "submodel"
- }
- }
- }
- {Contains} ForAll map_resources_to {
- LHS {
- Pre_DEVS/DEVSInstance pre_mrt_0 {
- label = "0"
- constraint_type = $
- Boolean function constraint(value : String):
- return value == "ResourceHandler"!
- $
- }
- Pre_DEVS/Port pre_mrt_1 {
- label = "1"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "resource_in"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mrt_0, pre_mrt_1) {
- label = "2"
- }
- Pre_DEVS/DEVSInstance pre_mrt_2 {
- label = "3"
- constraint_type = $
- Boolean function constraint(value : String):
- return value != "ResourceHandler"!
- $
- }
- Pre_DEVS/Port pre_mrt_3 {
- label = "4"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "resource_out"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mrt_2, pre_mrt_3) {
- label = "5"
- }
- }
-
- RHS {
- Post_DEVS/DEVSInstance post_mrt_0 {
- label = "0"
- }
- Post_DEVS/Port post_mrt_1 {
- label = "1"
- }
- Post_DEVS/DEVSInstanceToPort (post_mrt_0, post_mrt_1) {
- label = "2"
- }
- Post_DEVS/DEVSInstance post_mrt_2 {
- label = "3"
- }
- Post_DEVS/Port post_mrt_3 {
- label = "4"
- }
- Post_DEVS/DEVSInstanceToPort (post_mrt_2, post_mrt_3) {
- label = "5"
- }
- Post_DEVS/Channel (post_mrt_3, post_mrt_1) {
- label = "6"
- }
- }
- }
- {Contains} ForAll map_resources_from {
- LHS {
- Pre_DEVS/DEVSInstance pre_mrf_0 {
- label = "0"
- constraint_type = $
- Boolean function constraint(value : String):
- return value == "ResourceHandler"!
- $
- }
- Pre_DEVS/Port pre_mrf_1 {
- label = "1"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "resource_out"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mrf_0, pre_mrf_1) {
- label = "2"
- }
- Pre_DEVS/DEVSInstance pre_mrf_2 {
- label = "3"
- constraint_type = $
- Boolean function constraint(value : String):
- return value != "ResourceHandler"!
- $
- }
- Pre_DEVS/Port pre_mrf_3 {
- label = "4"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "resource_in"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mrf_2, pre_mrf_3) {
- label = "5"
- }
- }
-
- RHS {
- Post_DEVS/DEVSInstance post_mrf_0 {
- label = "0"
- }
- Post_DEVS/Port post_mrf_1 {
- label = "1"
- }
- Post_DEVS/DEVSInstanceToPort (post_mrf_0, post_mrf_1) {
- label = "2"
- }
- Post_DEVS/DEVSInstance post_mrf_2 {
- label = "3"
- }
- Post_DEVS/Port post_mrf_3 {
- label = "4"
- }
- Post_DEVS/DEVSInstanceToPort (post_mrf_2, post_mrf_3) {
- label = "5"
- }
- Post_DEVS/Channel (post_mrf_1, post_mrf_3) {
- label = "6"
- }
- }
- }
- {Contains} ForAll map_control {
- LHS {
- Pre_DEVS/DEVSInstance pre_map_0 {
- label = "0"
- }
- Pre_DEVS/Port pre_map_1 {
- label = "1"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_out"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_map_0, pre_map_1) {
- label = "2"
- }
- Pre_DEVS/DEVSInstance pre_map_2 {
- label = "3"
- }
- Pre_DEVS/Port pre_map_3 {
- label = "4"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_in"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_map_2, pre_map_3) {
- label = "5"
- }
- Pre_PM/ProcessNode pre_map_4 {
- label = "6"
- }
- Pre_Trace (pre_map_4, pre_map_0) {
- label = "7"
- }
- Pre_PM/ProcessNode pre_map_5 {
- label = "8"
- }
- Pre_Trace (pre_map_5, pre_map_2) {
- label = "9"
- }
- Pre_PM/Next (pre_map_4, pre_map_5) {
- label = "10"
- }
- }
-
- RHS {
- Post_DEVS/DEVSInstance post_map_0 {
- label = "0"
- }
- Post_DEVS/Port post_map_1 {
- label = "1"
- }
- Post_DEVS/DEVSInstanceToPort (post_map_0, post_map_1) {
- label = "2"
- }
- Post_DEVS/DEVSInstance post_map_2 {
- label = "3"
- }
- Post_DEVS/Port post_map_3 {
- label = "4"
- }
- Post_DEVS/DEVSInstanceToPort (post_map_2, post_map_3) {
- label = "5"
- }
- Post_PM/ProcessNode post_map_4 {
- label = "6"
- }
- Post_Trace (post_map_4, post_map_0) {
- label = "7"
- }
- Post_PM/ProcessNode post_map_5 {
- label = "8"
- }
- Post_Trace (post_map_5, post_map_2) {
- label = "9"
- }
- Post_PM/Next (post_map_4, post_map_5) {
- label = "10"
- }
- Post_DEVS/Channel (post_map_1, post_map_3) {
- label = "11"
- }
- }
- }
- {Contains} ForAll map_control_decision_true {
- LHS {
- Pre_DEVS/DEVSInstance pre_mdt_0 {
- label = "0"
- }
- Pre_DEVS/Port pre_mdt_1 {
- label = "1"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_out1"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mdt_0, pre_mdt_1) {
- label = "2"
- }
- Pre_DEVS/DEVSInstance pre_mdt_2 {
- label = "3"
- }
- Pre_DEVS/Port pre_mdt_3 {
- label = "4"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_in"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mdt_2, pre_mdt_3) {
- label = "5"
- }
- Pre_PM/ProcessNode pre_mdt_4 {
- label = "6"
- }
- Pre_Trace (pre_mdt_4, pre_mdt_0) {
- label = "7"
- }
- Pre_PM/ProcessNode pre_mdt_5 {
- label = "8"
- }
- Pre_Trace (pre_mdt_5, pre_mdt_2) {
- label = "9"
- }
- Pre_PM/DecisionTrue (pre_mdt_4, pre_mdt_5) {
- label = "10"
- }
- }
-
- RHS {
- Post_DEVS/DEVSInstance post_mdt_0 {
- label = "0"
- }
- Post_DEVS/Port post_mdt_1 {
- label = "1"
- }
- Post_DEVS/DEVSInstanceToPort (post_mdt_0, post_mdt_1) {
- label = "2"
- }
- Post_DEVS/DEVSInstance post_mdt_2 {
- label = "3"
- }
- Post_DEVS/Port post_mdt_3 {
- label = "4"
- }
- Post_DEVS/DEVSInstanceToPort (post_mdt_2, post_mdt_3) {
- label = "5"
- }
- Post_PM/ProcessNode post_mdt_4 {
- label = "6"
- }
- Post_Trace (post_mdt_4, post_mdt_0) {
- label = "7"
- }
- Post_PM/ProcessNode post_mdt_5 {
- label = "8"
- }
- Post_Trace (post_mdt_5, post_mdt_2) {
- label = "9"
- }
- Post_PM/DecisionTrue (post_mdt_4, post_mdt_5) {
- label = "10"
- }
- Post_DEVS/Channel (post_mdt_1, post_mdt_3) {
- label = "11"
- }
- }
- }
- {Contains} ForAll map_control_decision_false {
- LHS {
- Pre_DEVS/DEVSInstance pre_mdf_0 {
- label = "0"
- }
- Pre_DEVS/Port pre_mdf_1 {
- label = "1"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_out2"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mdf_0, pre_mdf_1) {
- label = "2"
- }
- Pre_DEVS/DEVSInstance pre_mdf_2 {
- label = "3"
- }
- Pre_DEVS/Port pre_mdf_3 {
- label = "4"
- constraint_name = $
- Boolean function constraint(value : String):
- return value == "control_in"!
- $
- }
- Pre_DEVS/DEVSInstanceToPort (pre_mdf_2, pre_mdf_3) {
- label = "5"
- }
- Pre_PM/ProcessNode pre_mdf_4 {
- label = "6"
- }
- Pre_Trace (pre_mdf_4, pre_mdf_0) {
- label = "7"
- }
- Pre_PM/ProcessNode pre_mdf_5 {
- label = "8"
- }
- Pre_Trace (pre_mdf_5, pre_mdf_2) {
- label = "9"
- }
- Pre_PM/DecisionFalse (pre_mdf_4, pre_mdf_5) {
- label = "10"
- }
- }
-
- RHS {
- Post_DEVS/DEVSInstance post_mdf_0 {
- label = "0"
- }
- Post_DEVS/Port post_mdf_1 {
- label = "1"
- }
- Post_DEVS/DEVSInstanceToPort (post_mdf_0, post_mdf_1) {
- label = "2"
- }
- Post_DEVS/DEVSInstance post_mdf_2 {
- label = "3"
- }
- Post_DEVS/Port post_mdf_3 {
- label = "4"
- }
- Post_DEVS/DEVSInstanceToPort (post_mdf_2, post_mdf_3) {
- label = "5"
- }
- Post_PM/ProcessNode post_mdf_4 {
- label = "6"
- }
- Post_Trace (post_mdf_4, post_mdf_0) {
- label = "7"
- }
- Post_PM/ProcessNode post_mdf_5 {
- label = "8"
- }
- Post_Trace (post_mdf_5, post_mdf_2) {
- label = "9"
- }
- Post_PM/DecisionFalse (post_mdf_4, post_mdf_5) {
- label = "10"
- }
- Post_DEVS/Channel (post_mdf_1, post_mdf_3) {
- label = "11"
- }
- }
- }
- }
- Initial (schedule, root_model) {}
- OnSuccess (root_model, initial) {}
- OnFailure (root_model, initial) {}
- 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) {}
- OnSuccess (activity, parallelsplit) {}
- OnFailure (activity, parallelsplit) {}
- OnSuccess (parallelsplit, synchronization) {}
- OnFailure (parallelsplit, synchronization) {}
- OnSuccess (synchronization, xor) {}
- OnFailure (synchronization, xor) {}
- OnSuccess (xor, merge) {}
- OnFailure (xor, merge) {}
- OnSuccess (merge, multi) {}
- OnFailure (merge, multi) {}
- OnSuccess (multi, map_resources_to) {}
- OnFailure (multi, map_resources_to) {}
- OnSuccess (map_resources_to, map_resources_from) {}
- OnFailure (map_resources_to, map_resources_from) {}
- OnSuccess (map_resources_from, map_control) {}
- OnFailure (map_resources_from, map_control) {}
- OnSuccess (map_control, map_control_decision_true) {}
- OnFailure (map_control, map_control_decision_true) {}
- OnSuccess (map_control_decision_true, map_control_decision_false) {}
- OnFailure (map_control_decision_true, map_control_decision_false) {}
- OnSuccess (map_control_decision_false, success) {}
- OnFailure (map_control_decision_false, success) {}
|