{ "csm": { "nodes": { "0": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 241.77214216000004, 300.54982484 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1.2457673698684366, 0.72046788 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "14": { "width": { "type": "double", "value": 250 }, "height": { "type": "double", "value": 250 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 8, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "16": { "textContent": { "type": "string", "value": "Generator" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 7 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS/0.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon" }, "1": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 267, 361 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "34": { "r": { "type": "double", "value": 25 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (getAttr('initial')) {\n style[\"stroke-width\"] = 2;\n}\n({'style': style})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "37": { "textContent": { "type": "string", "value": "generating" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "12px", "font-weight": "bold", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 5, 6 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "40": { "textContent": { "type": "string", "value": "return 1.0" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('time_advance').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 79, 57 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "42": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/clock.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 56, 53 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "44": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/arrow_up.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar width = 20,\n height = 20;\nif (getAttr('output') == \"\") {\n width = 0;\n height = 0;\n}\n({'width': width, 'height': height})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 55, 18 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "46": { "textContent": { "type": "string", "value": "...\nreturn {'p_out': [Task(duration)]}" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('output').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 77, 23 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/State/1.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon" }, "2": { "typename": { "type": "string", "value": "StateDefinitionIcon" }, "position": { "type": "list", "value": [ 322, 152 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "82": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 125 }, "cornerRadius": { "type": "double", "value": 10 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "orange", "fill-opacity": 0.75, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 4, 3 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "85": { "segments": { "type": "string", "value": "m0,0l197,0" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 6, 36 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 53.75, 20 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "90": { "textContent": { "type": "string", "value": "+ nr_of_tasks : int" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 41 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 18.1796875, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "93": { "textContent": { "type": "string", "value": "GeneratorState" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 9 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 25.607941766118074, 12.053332982167333 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "82", "dest": "86" }, { "src": "86", "dest": "85" }, { "src": "82", "dest": "92" }, { "src": "92", "dest": "90" }, { "src": "82", "dest": "94" }, { "src": "94", "dest": "93" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition/2.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon" }, "5": { "link-style": { "type": "map", "value": { "stroke": "blue", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "InternalTransitionLink" }, "position": { "type": "list", "value": [ 297.09991584483896, 454.00000000000006 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "77": { "textContent": { "type": "string", "value": "[]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-7.014454767810832,0%", "0;-31.5,0%" ] }, "orientation": { "type": "double", "value": "0;3.2406981391963484e-13" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": -31.5 } } }, "78": { "textContent": { "type": "string", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-7.014454767811003,0%", "0;2.5,0%" ] }, "orientation": { "type": "double", "value": "0;3.2406981391963484e-13" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;14.900084155160926,-3.7135279660344134e-13%", "0;-29.99900222222226,-100%" ] }, "orientation": { "type": "double", "value": "0;-90.00000000000021" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition/5.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/1.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/5.instance": "M277,425L277,454L297.09991584483896,454.0000000000001", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/5.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/1.instance": "M297.09991584483896,454.0000000000001L316,454L315.9999999999999,424.0009977777778" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink" }, "7": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statesLink" }, "position": { "type": "list", "value": [ 349.1522171933186, 350.1595671375398 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/states/7.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/0.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/7.instance": "M310.1063999999999,305.59310000000005L349.1522171933186,350.15956713753985", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/7.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/1.instance": "M349.1026247193198,350.1029628320953L387.9998322689048,394.4998085535691" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink" }, "8": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 1 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statedefLink" }, "position": { "type": "list", "value": [ 423, 301 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "271": { "r": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ "0;-5,6.123031769111886e-15%", "0;-20.999286848072586,-100%" ] }, "orientation": { "type": "double", "value": "0;-90" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -5 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef/8.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/0.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/8.instance": "M423,322L423,301", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/8.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon/2.instance": "M423,300.921707478294L423,280.0007131519274" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink" }, "9": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 658.9152, 298 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 2.2159999999999997, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "14": { "width": { "type": "double", "value": 250 }, "height": { "type": "double", "value": 250 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 8, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "16": { "textContent": { "type": "string", "value": "Processor" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 7 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS/9.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon" }, "10": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 676, 449 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "34": { "r": { "type": "double", "value": 25 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (getAttr('initial')) {\n style[\"stroke-width\"] = 2;\n}\n({'style': style})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "37": { "textContent": { "type": "string", "value": "idle" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "12px", "font-weight": "bold", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 5, 6 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "40": { "textContent": { "type": "string", "value": "return INFINITY" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('time_advance').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 79, 57 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "42": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/clock.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 56, 53 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "44": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/arrow_up.png" }, "width": { "type": "double", "value": 0 }, "height": { "type": "double", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar width = 20,\n height = 20;\nif (getAttr('output') == \"\") {\n width = 0;\n height = 0;\n}\n({'width': width, 'height': height})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 55, 18 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "46": { "textContent": { "type": "string", "value": "" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('output').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 77, 23 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/State/10.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon" }, "11": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 926, 449 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "34": { "r": { "type": "double", "value": 25 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (getAttr('initial')) {\n style[\"stroke-width\"] = 2;\n}\n({'style': style})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "37": { "textContent": { "type": "string", "value": "processing" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "12px", "font-weight": "bold", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 5, 6 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "40": { "textContent": { "type": "string", "value": "return self.state.current_task.duration" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('time_advance').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 79, 57 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "42": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/clock.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 56, 53 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "44": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/arrow_up.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar width = 20,\n height = 20;\nif (getAttr('output') == \"\") {\n width = 0;\n height = 0;\n}\n({'width': width, 'height': height})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 55, 18 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "46": { "textContent": { "type": "string", "value": "return {'p_out': [self.state.current_task]}" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('output').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 77, 23 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/State/11.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon" }, "13": { "typename": { "type": "string", "value": "EventIcon" }, "position": { "type": "list", "value": [ 22, 152 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "58": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 70 }, "cornerRadius": { "type": "double", "value": 25 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#FAE233", "fill-opacity": 0.5, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 4, 25 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "61": { "textContent": { "type": "string", "value": "Task" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 63, 3 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "63": { "textContent": { "type": "string", "value": "+ duration : float" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 11, 31 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "64": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 26.96484375, 35.5 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "58", "dest": "64" }, { "src": "64", "dest": "63" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/Event/13.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/EventIcon" }, "14": { "typename": { "type": "string", "value": "StateDefinitionIcon" }, "position": { "type": "list", "value": [ 847, 152 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "82": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 125 }, "cornerRadius": { "type": "double", "value": 10 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "orange", "fill-opacity": 0.75, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 4, 3 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "85": { "segments": { "type": "string", "value": "m0,0l197,0" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 6, 36 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 53.75, 20 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "90": { "textContent": { "type": "string", "value": "+ queue : list = \n+ current_task : Task" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 41 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 18.1796875, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "93": { "textContent": { "type": "string", "value": "ProcessorState" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 9 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 25.607941766118074, 12.053332982167333 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "82", "dest": "86" }, { "src": "86", "dest": "85" }, { "src": "82", "dest": "92" }, { "src": "92", "dest": "90" }, { "src": "82", "dest": "94" }, { "src": "94", "dest": "93" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition/14.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon" }, "15": { "link-style": { "type": "map", "value": { "stroke": "red", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "ExternalTransitionLink" }, "position": { "type": "list", "value": [ 860.7501909800817, 376 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "73": { "textContent": { "type": "string", "value": "[]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-40.56319469369066,0%", "0;-23.252794701887296,0%" ] }, "orientation": { "type": "double", "value": "0;-16.313852426260556" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4110429447852761, "yoffset": -33.5 } } }, "75": { "textContent": { "type": "string", "value": "...\n# set current task" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-25.809644094995065,0%", "0;9.939353273059226,0%" ] }, "orientation": { "type": "double", "value": "0;-16.313852426260556" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4233128834355828, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;100.80351264734804,-45.90200518763383%", "0;93.83608020750535,88.84259068574282%" ] }, "orientation": { "type": "double", "value": "0;117.32389130134655" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition/15.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/10.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/15.instance": "M719,475L737,412L860,376", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/15.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance": "M860,376L989,408L958,468" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink" }, "16": { "link-style": { "type": "map", "value": { "stroke": "blue", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "InternalTransitionLink" }, "position": { "type": "list", "value": [ 828.1000099852071, 531 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "77": { "textContent": { "type": "string", "value": "[return not self.state.queue]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;17.152089737791016,0%", "0;31.5,0%" ] }, "orientation": { "type": "double", "value": "0;180" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": -31.5 } } }, "78": { "textContent": { "type": "string", "value": "...\n# clear state" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;17.152089737791016,0%", "0;-2.5,0%" ] }, "orientation": { "type": "double", "value": "0;180" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;-119.70317547903096,-75.92566023652968%", "0;-8.962973590538809,-65.07913734559683%" ] }, "orientation": { "type": "double", "value": "0;-139.39870535499554" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition/16.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/16.instance": "M942.0000000000002,517L933,531L828.100009985207,531", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/16.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/10.instance": "M828.100009985207,531L725,531L711,519" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink" }, "17": { "link-style": { "type": "map", "value": { "stroke": "blue", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "InternalTransitionLink" }, "position": { "type": "list", "value": [ 895.6499979188343, 500 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "77": { "textContent": { "type": "string", "value": "[return self.state.queue]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-16.520522179835893,0%", "0;27.969490409266257,0%" ] }, "orientation": { "type": "double", "value": "0;-138.81407483429035" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": -31.5 } } }, "78": { "textContent": { "type": "string", "value": "...\n# pop current task" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;5.8686344876937255,0%", "0;2.3818827892324066,0%" ] }, "orientation": { "type": "double", "value": "0;-138.81407483429035" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;37.64548882322697,99.7267754456709%", "0;-17.98907101782686,7.387168551531179%" ] }, "orientation": { "type": "double", "value": "0;4.236394799058841" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition/17.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/17.instance": "M935.9999999999998,512L911,514L895,500", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink/17.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance": "M895,500L906,484L933,486" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InternalTransitionLink" }, "18": { "link-style": { "type": "map", "value": { "stroke": "red", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "ExternalTransitionLink" }, "position": { "type": "list", "value": [ 957.498046875, 534 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "73": { "textContent": { "type": "string", "value": "[]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-6.042328275525392,0%", "0;-33.5,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4110429447852761, "yoffset": -33.5 } } }, "75": { "textContent": { "type": "string", "value": "...\n# append to queue" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-5.219037705493406,0%", "0;2.5,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4233128834355828, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;4.707219932797784,-31.622776601684897%", "0;-16.735088935932595,-94.868329805051%" ] }, "orientation": { "type": "double", "value": "0;-108.43494882292268" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition/18.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/18.instance": "M948.0000000000002,520L940,534L957.4980468750001,534", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/18.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance": "M957.4980468750001,534L972,534L965.9999999999998,516" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink" }, "19": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statesLink" }, "position": { "type": "list", "value": [ 714.75, 393.75 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/states/19.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/9.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/19.instance": "M674,305L714.75,393.75", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/19.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/10.instance": "M714.812563686239,393.88625833506035L755.4997429766516,482.499440225223" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink" }, "20": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statesLink" }, "position": { "type": "list", "value": [ 870.5, 393.75 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/states/20.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/9.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/20.instance": "M674,305L870.5,393.75", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/20.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/11.instance": "M870.5681970638291,393.7808014728489L1066.9994290472114,482.4997421269211" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink" }, "21": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 1 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statedefLink" }, "position": { "type": "list", "value": [ 969, 302.5 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "271": { "r": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ "0;-5.000000000000114,-4.601706385734539e-13%", "0;-24.499388588088323,-100%" ] }, "orientation": { "type": "double", "value": "0;-90.00000000000027" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -5 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef/21.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/9.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/21.instance": "M969,327L969,302.5", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/21.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon/14.instance": "M968.9999999999999,302.4221876162819L968.9999999999999,278.0006114119117" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink" }, "22": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 1265.232, 300.1119 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1.2110720000000004, 0.6983 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "14": { "width": { "type": "double", "value": 250 }, "height": { "type": "double", "value": 250 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 8, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "16": { "textContent": { "type": "string", "value": "Collector" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 7 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS/22.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon" }, "23": { "typename": { "type": "string", "value": "StateDefinitionIcon" }, "position": { "type": "list", "value": [ 1347, 152 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "82": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 125 }, "cornerRadius": { "type": "double", "value": 10 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "orange", "fill-opacity": 0.75, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 4, 3 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "85": { "segments": { "type": "string", "value": "m0,0l197,0" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ 6, 36 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 53.75, 20 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "90": { "textContent": { "type": "string", "value": "+ nr_of_tasks : int" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar filenames = getAttr('attributes').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' : ' + attr['type'];\n if (attr['default'])\n s += ' = ' + attr['default'];\n return s;\n });\n\n({'textContent': filenames.join('\\n')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 41 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 18.1796875, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "93": { "textContent": { "type": "string", "value": "CollectorState" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 9 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 25.607941766118074, 12.053332982167333 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "82", "dest": "86" }, { "src": "86", "dest": "85" }, { "src": "82", "dest": "92" }, { "src": "92", "dest": "90" }, { "src": "82", "dest": "94" }, { "src": "94", "dest": "93" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition/23.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon" }, "24": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 1284, 345 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "34": { "r": { "type": "double", "value": 25 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 2, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar style = {\n \"stroke\": \"#000000\",\n \"stroke-dasharray\": \"\",\n \"fill\": \"#ffffff\",\n \"fill-opacity\": 0.75,\n \"font-size\": \"20px\",\n \"stroke-width\": 1,\n \"arrow-start\": \"none\",\n \"arrow-end\": \"none\"\n};\nif (getAttr('initial')) {\n style[\"stroke-width\"] = 2;\n}\n({'style': style})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "37": { "textContent": { "type": "string", "value": "collecting" }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "12px", "font-weight": "bold", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 5, 6 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "40": { "textContent": { "type": "string", "value": "return INFINITY" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('time_advance').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 79, 57 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "42": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/clock.png" }, "width": { "type": "double", "value": 20 }, "height": { "type": "double", "value": 20 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 0.75, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 56, 53 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "44": { "src": { "type": "string", "value": "/Formalisms/ParallelDEVS/icons/arrow_up.png" }, "width": { "type": "double", "value": 0 }, "height": { "type": "double", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#ffffff", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar width = 20,\n height = 20;\nif (getAttr('output') == \"\") {\n width = 0;\n height = 0;\n}\n({'width': width, 'height': height})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Image", "position": { "type": "list", "value": [ 55, 18 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "46": { "textContent": { "type": "string", "value": "" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('output').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent })" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 77, 23 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/State/24.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon" }, "26": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 1 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statedefLink" }, "position": { "type": "list", "value": [ 1452, 303.5 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "271": { "r": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Circle", "position": { "type": "list", "value": [ "0;-5,6.123031769111886e-15%", "0;-23.49936260751474,-100%" ] }, "orientation": { "type": "double", "value": "0;-90" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -5 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef/26.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/22.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/26.instance": "M1452,320.3542L1452,303.5", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink/26.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateDefinitionIcon/23.instance": "M1452,303.4220653443769L1452,280.00063739248526" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statedefLink" }, "27": { "link-style": { "type": "map", "value": { "stroke": "red", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "ExternalTransitionLink" }, "position": { "type": "list", "value": [ 1313, 449 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "73": { "textContent": { "type": "string", "value": "[]" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': '[' + textContent + ']'})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-10.141412062883546,0%", "0;-33.5,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4110429447852761, "yoffset": -33.5 } } }, "75": { "textContent": { "type": "string", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('action').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ "0;-8.742648243865005,0%", "0;2.5,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4233128834355828, "yoffset": 2.5 } } }, "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;13,6.123031769111886e-15%", "0;-39.99925124999993,-100%" ] }, "orientation": { "type": "double", "value": "0;-90" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition/27.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/24.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/27.instance": "M1296,409L1296,449L1313,449", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink/27.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/24.instance": "M1313,449L1330,449L1330,409.00074875000007" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/ExternalTransitionLink" }, "28": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "statesLink" }, "position": { "type": "list", "value": [ 1371.25, 338.75 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/states/28.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/22.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/28.instance": "M1326,305L1371.25,338.75", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink/28.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/StateIcon/24.instance": "M1371.3104944434845,338.79512016502997L1363.4997836906946,378.4998386643301" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/statesLink" }, "29": { "typename": { "type": "string", "value": "CoupledDEVSIcon" }, "position": { "type": "list", "value": [ 510.1608, 630.5834 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1.9799, 0.7738 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "30": { "width": { "type": "double", "value": 250 }, "height": { "type": "double", "value": 250 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.07, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 8, 28 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "31": { "textContent": { "type": "string", "value": "Root" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "20px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 8, 7 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/CoupledDEVS/29.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/CoupledDEVSIcon" }, "30": { "typename": { "type": "string", "value": "DevsInstanceIcon" }, "position": { "type": "list", "value": [ 544, 701 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "104": { "textContent": { "type": "string", "value": "g" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 15, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "110": { "textContent": { "type": "string", "value": ":Generator" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': ':' + getAttr('devs_type')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 33, 46 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "117": { "width": { "type": "double", "value": 100 }, "height": { "type": "double", "value": 100 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.15, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 7, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "119": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 22.791684421312993, 19.099999244142055 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "120": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 31.6796875, 29 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "117", "dest": "119" }, { "src": "119", "dest": "104" }, { "src": "117", "dest": "120" }, { "src": "120", "dest": "110" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance/30.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon" }, "31": { "typename": { "type": "string", "value": "DevsInstanceIcon" }, "position": { "type": "list", "value": [ 719, 701 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "104": { "textContent": { "type": "string", "value": "p" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 15, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "110": { "textContent": { "type": "string", "value": ":Processor" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': ':' + getAttr('devs_type')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 33, 46 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "117": { "width": { "type": "double", "value": 100 }, "height": { "type": "double", "value": 100 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.15, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 7, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "119": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 22.791684421312993, 19.099999244142055 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "120": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 31.6796875, 29 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "117", "dest": "119" }, { "src": "119", "dest": "104" }, { "src": "117", "dest": "120" }, { "src": "120", "dest": "110" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance/31.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon" }, "32": { "typename": { "type": "string", "value": "DevsInstanceIcon" }, "position": { "type": "list", "value": [ 894, 701 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position'), 'scale': getAttr('scale')})" }, "$contents": { "type": "map", "value": { "nodes": { "104": { "textContent": { "type": "string", "value": "c" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 15, 26 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "110": { "textContent": { "type": "string", "value": ":Collector" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': ':' + getAttr('devs_type')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 33, 46 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "117": { "width": { "type": "double", "value": 100 }, "height": { "type": "double", "value": 100 }, "cornerRadius": { "type": "double", "value": 5 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 0.15, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 7, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "119": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 22.791684421312993, 19.099999244142055 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } }, "120": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 31.6796875, 29 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "117", "dest": "119" }, { "src": "119", "dest": "104" }, { "src": "117", "dest": "120" }, { "src": "120", "dest": "110" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance/32.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon" }, "33": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 549.1705135475434, 393.20796368611167 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "48": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "purple", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 4, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "50": { "textContent": { "type": "string", "value": "p_out" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort/33.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon" }, "34": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 579.1432430882306, 404.4527027538861 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/34.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/0.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/34.instance": "M526,422L579.1432430882306,404.4527027538861", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/34.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/33.instance": "M579.0714925543826,404.4763939678926L631.9997420590788,387.00008516917205" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "35": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 1221.5725439999999, 396 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "48": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "purple", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 4, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "50": { "textContent": { "type": "string", "value": "p_out" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort/35.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon" }, "36": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1242.1271181571633, 405.9186443794156 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/36.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/9.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/36.instance": "M1217,422L1242.1271181571633,405.9186443794156", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/36.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/35.instance": "M1242.0633438064588,405.9594599638665L1284.9995695762473,387.00027547120203" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "37": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 665.572544, 393 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "54": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 5, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "55": { "textContent": { "type": "string", "value": "p_in" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort/37.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon" }, "38": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 660.5, 391 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/38.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/9.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/38.instance": "M699,409L660.5,391", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/38.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/37.instance": "M660.4314137227229,390.96793368854594L638.0003271211262,385.0001529397474" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "39": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 1264.3431606108159, 343.86722289 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "54": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 5, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "55": { "textContent": { "type": "string", "value": "p_in" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort/39.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon" }, "40": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1254.5, 303 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/40.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/AtomicDEVSIcon/22.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/40.instance": "M1282,353L1254.5,303", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/40.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/39.instance": "M1254.4638792797768,302.9343259632307L1180.0001268878955,283.00023070526424" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "41": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 887, 749 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "54": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 5, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "55": { "textContent": { "type": "string", "value": "p_in" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort/41.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon" }, "42": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 716, 750 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': getAttr('position')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "54": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "green", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 5, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "55": { "textContent": { "type": "string", "value": "p_in" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort/42.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon" }, "43": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1295.9887500234377, 849.1499996875 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/43.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/31.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/43.instance": "M750,714L1295.9887500234374,849.1499996875", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/43.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/42.instance": "M1295.9943890654079,849.0748124612297L731.0000281015626,736.9996253125" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "44": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1454.9666667524007, 839.6479162862225 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/44.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/32.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/44.instance": "M911,729L1454.9666667524007,839.6479162862225", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/44.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/41.instance": "M1454.9833796402572,839.5737528463582L885.0000925068587,736.9995895008144" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "45": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 641, 750 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "48": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "purple", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 4, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "50": { "textContent": { "type": "string", "value": "p_out" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort/45.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon" }, "46": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1215, 829 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/46.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/30.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/46.instance": "M651,723L1215,829", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/46.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/45.instance": "M1215.0271900619637,829.0702409934067L655.9998348777028,734.9995734340653" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "47": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 816, 750 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'position': [getAttr('position')[0], getAttr('position')[1]]})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'position': getAttr('position')})" }, "$contents": { "type": "map", "value": { "nodes": { "48": { "r": { "type": "double", "value": 7 }, "sides": { "type": "int", "value": 4 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "purple", "fill-opacity": 1, "font-size": "20px", "stroke-width": 1, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Polygon", "position": { "type": "list", "value": [ 4, 1 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "50": { "textContent": { "type": "string", "value": "p_out" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\n({'textContent': getAttr('name')})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */\n({'name': getAttr('textContent')})" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 4, 21 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort/47.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon" }, "48": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 1, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "portsLink" }, "position": { "type": "list", "value": [ 1394.149998866213, 820.4821429921176 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/ports/48.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/31.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/48.instance": "M824.0000000000002,728L1394.149998866213,820.4821429921176", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink/48.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/47.instance": "M1394.0746427174345,820.4911139622102L828.9992868480729,740.0000848990389" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/portsLink" }, "55": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "submodelsLink" }, "position": { "type": "list", "value": [ 556.5737902585932, 690.6318547243715 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels/55.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/CoupledDEVSIcon/29.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/55.instance": "M526,636L556.5737902585932,690.6318547243715", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/55.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/30.instance": "M556.5735522259118,690.6314293872849L596.9995244453023,730.9991502383269" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink" }, "56": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "submodelsLink" }, "position": { "type": "list", "value": [ 659.6381034263807, 693.5594827491902 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels/56.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/CoupledDEVSIcon/29.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/56.instance": "M526,636L659.6381034263807,693.5594827491902", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/56.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/31.instance": "M659.5687659901625,693.5296183103696L771.9991433973512,730.9996310512936" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink" }, "57": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "stroke-opacity": 0, "stroke-width": 0 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "submodelsLink" }, "position": { "type": "list", "value": [ 737.1448512484678, 694.5401601802623 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels/57.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/CoupledDEVSIcon/29.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/57.instance": "M526,636L737.1448512484678,694.5401601802623", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink/57.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/DevsInstanceIcon/32.instance": "M737.0722267475901,694.520024951346L946.9994036317228,730.9998346561885" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/submodelsLink" }, "58": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "channelLink" }, "position": { "type": "list", "value": [ 688.5, 757 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;34.499565637471164,100%", "0;-4,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/channel/58.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/45.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink/58.instance": "M654,757L688.5,757", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink/58.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/42.instance": "M688.5769852373264,756.9999999999999L722.9995656374712,757" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink" }, "59": { "link-style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "- ", "stroke-opacity": 1, "stroke-width": 2 } }, "arrowHead": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "custom" }, "arrowTail": { "type": "ENUM(circle-black,circle-black-large,circle-white,circle-white-large,diamond-black,diamond-black-large,diamond-white,diamond-white-large,triangle-black,triangle-black-large,triangle-white,triangle-white-large,arrow-black,arrow-black-large,arrow-empty,arrow-empty-large,custom)", "value": "arrow-black" }, "typename": { "type": "string", "value": "channelLink" }, "position": { "type": "list", "value": [ 861, 757 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "267": { "segments": { "type": "string", "value": "m0,0 l10,4 l-10,4 l3,-4 z" }, "style": { "type": "map", "value": { "stroke": "#000000", "fill": "#000000", "opacity": 1, "stroke-width": 1 } }, "mapper": { "type": "code", "value": "" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Path", "position": { "type": "list", "value": [ "0;32.99954591368214,100%", "0;-4,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/channel/59.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/OutputPortIcon/47.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink/59.instance": "M828,757L861,757", "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink/59.instance--/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/InputPortIcon/41.instance": "M861.0770768607836,757L893.9995459136821,757" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/channelLink" }, "60": { "typename": { "type": "string", "value": "SimulationIcon" }, "position": { "type": "list", "value": [ 20, 275 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$contents": { "type": "map", "value": { "nodes": { "65": { "width": { "type": "double", "value": 200 }, "height": { "type": "double", "value": 50 }, "cornerRadius": { "type": "double", "value": 0 }, "style": { "type": "map", "value": { "stroke": "#000000", "stroke-dasharray": "", "fill": "#2BAFD4", "fill-opacity": 0.5, "font-size": "20px", "stroke-width": 3, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Rectangle", "position": { "type": "list", "value": [ 6, 5 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "69": { "textContent": { "type": "string", "value": "return time >= 300" }, "style": { "type": "map", "value": { "stroke": "#ffffff", "stroke-dasharray": "", "fill": "#000000", "fill-opacity": 1, "font-size": "12px", "stroke-width": 0, "arrow-start": "none", "arrow-end": "none" } }, "mapper": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,csattr:val,...} */\nvar splitted = getAttr('end_condition').split('\\n'),\n textContent = \"\";\nif (splitted.length > 1) {\n textContent = \"...\\n\" + splitted[splitted.length - 1];\n} else if (splitted.length == 1) {\n textContent = splitted[0];\n}\n({'textContent': textContent})" }, "parser": { "type": "code", "value": "/* specify code that evaluates to an associative array of the form {...,attr:val,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 13, 13 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "72": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 21.31768296950213, 13.063635584495046 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] }, "link-style": { "type": "map", "value": { "stroke": "#00ffff", "stroke-dasharray": "", "stroke-opacity": 0.1, "stroke-width": 1 } } } }, "edges": [ { "src": "65", "dest": "72" }, { "src": "72", "dest": "69" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS/Simulation/60.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons/SimulationIcon" } }, "edges": [], "metamodels": [ "/Formalisms/ParallelDEVS/ParallelDEVS.defaultIcons" ] }, "asm": { "nodes": { "0": { "name": { "type": "string", "value": "Generator" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [] }, "parameters": { "type": "list<$ARG>", "value": [] }, "__init__": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 241.77214216000004, 300.54982484 ] }, "scale": { "type": "list", "value": [ 1.2457673698684366, 0.72046788 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS" }, "1": { "name": { "type": "string", "value": "generating" }, "initial": { "type": "bool", "value": true }, "time_advance": { "type": "code", "value": "return 1.0" }, "output": { "type": "code", "value": "import random\nduration = random.uniform(0, 1.1)\nreturn {'p_out': [Task(duration)]}" }, "position": { "type": "list", "value": [ 267, 361 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/State" }, "2": { "name": { "type": "string", "value": "GeneratorState" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [ { "name": "nr_of_tasks", "type": "int", "default": 0 } ] }, "parameters": { "type": "list<$ARG>", "value": [ { "name": "nr_of_tasks", "type": "int" } ] }, "initial_binding": { "type": "list>", "value": [ { "name": "nr_of_tasks", "val": 0 } ] }, "__init__": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition" }, "5": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition" }, "7": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/states" }, "8": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef" }, "9": { "name": { "type": "string", "value": "Processor" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [] }, "parameters": { "type": "list<$ARG>", "value": [] }, "__init__": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 658.9152, 298 ] }, "scale": { "type": "list", "value": [ 2.2159999999999997, 1 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS" }, "10": { "name": { "type": "string", "value": "idle" }, "initial": { "type": "bool", "value": true }, "time_advance": { "type": "code", "value": "return INFINITY" }, "output": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 676, 449 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/State" }, "11": { "name": { "type": "string", "value": "processing" }, "initial": { "type": "bool", "value": false }, "time_advance": { "type": "code", "value": "return self.state.current_task.duration" }, "output": { "type": "code", "value": "return {'p_out': [self.state.current_task]}" }, "position": { "type": "list", "value": [ 926, 449 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/State" }, "13": { "name": { "type": "string", "value": "Task" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [ { "name": "duration", "type": "float", "default": 0 } ] }, "parameters": { "type": "list<$ARG>", "value": [ { "name": "duration", "type": "float" } ] }, "__init__": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/Event" }, "14": { "name": { "type": "string", "value": "ProcessorState" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [ { "name": "queue", "type": "list", "default": [] }, { "name": "current_task", "type": "Task", "default": "" } ] }, "parameters": { "type": "list<$ARG>", "value": [ { "name": "queue", "type": "list" }, { "name": "current_task", "type": "Task" } ] }, "initial_binding": { "type": "list>", "value": [ { "name": "queue", "val": "[]" } ] }, "__init__": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition" }, "15": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"current_task\": inputs['p_in'][0], \"queue\": self.state.queue}\n# set current task" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition" }, "16": { "condition": { "type": "code", "value": "return not self.state.queue" }, "action": { "type": "code", "value": "return {\"current_task\": None, \"queue\": []}\n# clear state" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition" }, "17": { "condition": { "type": "code", "value": "return self.state.queue" }, "action": { "type": "code", "value": "return {'current_task': self.state.queue.pop(0), \"queue\": self.state.queue}\n# pop current task" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InternalTransition" }, "18": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"queue\": self.state.queue + [inputs['p_in'][0]], \"current_task\": self.state.current_task}\n# append to queue" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition" }, "19": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/states" }, "20": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/states" }, "21": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef" }, "22": { "name": { "type": "string", "value": "Collector" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [] }, "parameters": { "type": "list<$ARG>", "value": [] }, "__init__": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 1265.232, 300.1119 ] }, "scale": { "type": "list", "value": [ 1.2110720000000004, 0.6983 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/AtomicDEVS" }, "23": { "name": { "type": "string", "value": "CollectorState" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [ { "name": "nr_of_tasks", "type": "int", "default": 0 } ] }, "parameters": { "type": "list<$ARG>", "value": [ { "name": "nr_of_tasks", "type": "int" } ] }, "initial_binding": { "type": "list>", "value": [ { "name": "nr_of_tasks", "val": 0 } ] }, "__init__": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/StateDefinition" }, "24": { "name": { "type": "string", "value": "collecting" }, "initial": { "type": "bool", "value": true }, "time_advance": { "type": "code", "value": "return INFINITY" }, "output": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 1284, 345 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/State" }, "26": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/statedef" }, "27": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ExternalTransition" }, "28": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/states" }, "29": { "name": { "type": "string", "value": "Root" }, "attributes": { "type": "list<$ATTRIBUTE>", "value": [] }, "parameters": { "type": "list<$ARG>", "value": [] }, "__init__": { "type": "code", "value": "" }, "position": { "type": "list", "value": [ 510.1608, 630.5834 ] }, "scale": { "type": "list", "value": [ 1.9799, 0.7738 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/CoupledDEVS" }, "30": { "name": { "type": "string", "value": "g" }, "devs_type": { "type": "string", "value": "Generator" }, "parameter_binding": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 544, 701 ] }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance" }, "31": { "name": { "type": "string", "value": "p" }, "devs_type": { "type": "string", "value": "Processor" }, "parameter_binding": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 719, 701 ] }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance" }, "32": { "name": { "type": "string", "value": "c" }, "devs_type": { "type": "string", "value": "Collector" }, "parameter_binding": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 894, 701 ] }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/DevsInstance" }, "33": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 549.1705135475434, 393.20796368611167 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort" }, "34": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "35": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 1221.5725439999999, 396 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort" }, "36": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "37": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 665.572544, 393 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort" }, "38": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "39": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 1264.3431606108159, 343.86722289 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort" }, "40": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "41": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 887, 749 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort" }, "42": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 716, 750 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/InputPort" }, "43": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "44": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "45": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 641, 750 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort" }, "46": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "47": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 816, 750 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/OutputPort" }, "48": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/ports" }, "55": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels" }, "56": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels" }, "57": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/submodels" }, "58": { "transfer_function": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/channel" }, "59": { "transfer_function": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/channel" }, "60": { "end_condition": { "type": "code", "value": "return time >= 300" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS/Simulation" } }, "edges": [ { "src": "1", "dest": "5" }, { "src": "5", "dest": "1" }, { "src": "0", "dest": "7" }, { "src": "7", "dest": "1" }, { "src": "0", "dest": "8" }, { "src": "8", "dest": "2" }, { "src": "10", "dest": "15" }, { "src": "15", "dest": "11" }, { "src": "11", "dest": "16" }, { "src": "16", "dest": "10" }, { "src": "11", "dest": "17" }, { "src": "17", "dest": "11" }, { "src": "11", "dest": "18" }, { "src": "18", "dest": "11" }, { "src": "9", "dest": "19" }, { "src": "19", "dest": "10" }, { "src": "9", "dest": "20" }, { "src": "20", "dest": "11" }, { "src": "9", "dest": "21" }, { "src": "21", "dest": "14" }, { "src": "22", "dest": "26" }, { "src": "26", "dest": "23" }, { "src": "24", "dest": "27" }, { "src": "27", "dest": "24" }, { "src": "22", "dest": "28" }, { "src": "28", "dest": "24" }, { "src": "0", "dest": "34" }, { "src": "34", "dest": "33" }, { "src": "9", "dest": "36" }, { "src": "36", "dest": "35" }, { "src": "9", "dest": "38" }, { "src": "38", "dest": "37" }, { "src": "22", "dest": "40" }, { "src": "40", "dest": "39" }, { "src": "31", "dest": "43" }, { "src": "43", "dest": "42" }, { "src": "32", "dest": "44" }, { "src": "44", "dest": "41" }, { "src": "30", "dest": "46" }, { "src": "46", "dest": "45" }, { "src": "31", "dest": "48" }, { "src": "48", "dest": "47" }, { "src": "29", "dest": "55" }, { "src": "55", "dest": "30" }, { "src": "29", "dest": "56" }, { "src": "56", "dest": "31" }, { "src": "29", "dest": "57" }, { "src": "57", "dest": "32" }, { "src": "45", "dest": "58" }, { "src": "58", "dest": "42" }, { "src": "47", "dest": "59" }, { "src": "59", "dest": "41" } ], "metamodels": [ "/Formalisms/ParallelDEVS/ParallelDEVS" ] } }