{ "csm": { "nodes": { "155": { "typename": { "type": "string", "value": "SimulationInstanceIcon" }, "position": { "type": "list", "value": [ 44, 168 ] }, "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": "0.00" }, "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('simulation_time').toFixed(2)})" }, "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": [ 14, 18 ] }, "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_Runtime/SimulationInstance/155.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/SimulationInstanceIcon" }, "184": { "typename": { "type": "string", "value": "CoupledDEVSIcon" }, "position": { "type": "list", "value": [ 275.4984, 323.50239102 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 5.3127, 1.21394414 ] }, "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 ] } }, "114": { "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 filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = attr['name'] + ' = ' + attr['val'];\n return s;\n });\n\n({'textContent': filenames.join(', ')})" }, "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, 33 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "116": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 28.96484375, 36.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": "30", "dest": "116" }, { "src": "116", "dest": "114" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/CoupledDEVS/184.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/CoupledDEVSIcon" }, "185": { "typename": { "type": "string", "value": "StateInstanceIcon" }, "position": { "type": "list", "value": [ 809, 158 ] }, "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": [ 5, 5 ] }, "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": [ 7, 38 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 54.75, 22 ] }, "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": "+ current_task = \n+ 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": "var filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' = ' + attr['val'];\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": [ 10, 43 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 19.1796875, 28 ] }, "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,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 11 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 26.607941766118074, 14.05333298216732 ] }, "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_Runtime/StateInstance/185.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon" }, "186": { "typename": { "type": "string", "value": "StateInstanceIcon" }, "position": { "type": "list", "value": [ 384, 158 ] }, "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": [ 5, 5 ] }, "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": [ 7, 38 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 54.75, 22 ] }, "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 = 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": "var filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' = ' + attr['val'];\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": [ 10, 43 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 19.1796875, 28 ] }, "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,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 11 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 26.607941766118074, 14.05333298216732 ] }, "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_Runtime/StateInstance/186.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon" }, "187": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 338, 420.4792 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1.1304600443351498, 0.6302 ] }, "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": "g" }, "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 ] } }, "117": { "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 filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = attr['name'] + ' = ' + attr['val'];\n return s;\n });\n\n({'textContent': filenames.join(', ')})" }, "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, 34 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "118": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 30.10809182833816, 37.052173584285356 ] }, "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 } } }, "137": { "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,...} */\n({'textContent': getAttr('time_next')})" }, "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": [ 208, 8 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "138": { "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": [ 185, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [ { "src": "14", "dest": "118" }, { "src": "118", "dest": "117" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS/187.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon" }, "188": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 358.7182835272811, 459.55460552435125 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1.03694383434375, 1.03694383434375 ] }, "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": { "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}\nif (getAttr('current')) {\n style['fill'] = 'green';\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_Runtime/State/188.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon" }, "190": { "typename": { "type": "string", "value": "StateInstanceIcon" }, "position": { "type": "list", "value": [ 1381, 160 ] }, "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": [ 5, 5 ] }, "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": [ 7, 38 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "86": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 54.75, 22 ] }, "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 = 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": "var filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = '+ '+attr['name'] + ' = ' + attr['val'];\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": [ 10, 43 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "92": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 19.1796875, 28 ] }, "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,...} */" }, "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Text", "position": { "type": "list", "value": [ 9, 11 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "94": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 26.607941766118074, 14.05333298216732 ] }, "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_Runtime/StateInstance/190.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon" }, "191": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 675.3176, 385.3463999999999 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 2.34373023255814, 0.87794356 ] }, "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": "p" }, "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 ] } }, "117": { "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 filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = attr['name'] + ' = ' + attr['val'];\n return s;\n });\n\n({'textContent': filenames.join(', ')})" }, "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, 34 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "118": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 30.10809182833816, 37.052173584285356 ] }, "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 } } }, "137": { "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,...} */\n({'textContent': getAttr('time_next')})" }, "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": [ 208, 8 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "138": { "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": [ 185, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [ { "src": "14", "dest": "118" }, { "src": "118", "dest": "117" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS/191.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon" }, "192": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 985, 479.4513000000002 ] }, "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": { "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}\nif (getAttr('current')) {\n style['fill'] = 'green';\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_Runtime/State/192.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon" }, "193": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 710, 479.4513000000002 ] }, "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": { "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}\nif (getAttr('current')) {\n style['fill'] = 'green';\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_Runtime/State/193.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon" }, "195": { "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": [ 934, 535.1662222222222 ] }, "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;-7.376020907148018,0%", "0;32.988973837041556,0%" ] }, "orientation": { "type": "double", "value": "0;-145.4914770123316" }, "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;11.88595907101228,0%", "0;4.971548414263111,0%" ] }, "orientation": { "type": "double", "value": "0;-145.4914770123316" }, "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;57.69154186132448,90.61831399952642%", "0;-12.790954782203357,42.28854653311265%" ] }, "orientation": { "type": "double", "value": "0;25.01689347810019" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InternalTransition/195.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/195.instance": "M996,540L966,557L934,535", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/195.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance": "M934,535L960.0000000000002,512L990,526" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink" }, "197": { "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": [ 900.4087999999999, 449.14885000000004 ] }, "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_Runtime/states/197.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/197.instance": "M675.3176000000001,385.3463999999999L900.4087999999999,449.14885000000004", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/197.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance": "M900.4809133202723,449.169290632557L1125.499442900868,512.9511420893866" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink" }, "198": { "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": [ 870.3484945061728, 587.4512999999997 ] }, "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;-26.01701378556811,0%", "0;-33.49999999999943,0%" ] }, "orientation": { "type": "double", "value": "0;-1.3807906573879857e-13" }, "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;-22.436263973115274,0%", "0;2.5000000000004547,0%" ] }, "orientation": { "type": "double", "value": "0;-1.3807906573879857e-13" }, "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;127.99367555517426,74.74093186836609%", "0;-42.989304311770866,-66.43638388299185%" ] }, "orientation": { "type": "double", "value": "0;-41.633539336570095" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ExternalTransition/198.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/193.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/198.instance": "M739,551.4513000000004L776,587.4513000000004L870.3484945061732,587.4513000000002", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/198.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance": "M870.3484945061732,587.4513000000002L956,587.4513000000004L1000.9996254166667,547.4516329629635" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink" }, "199": { "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": [ 384.40797195881, 557.4176984356325 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 0.7737809375, 0.7737809375 ] }, "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.068273801112468,0%", "0;-31.50003519813231,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "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.068273801112468,0%", "0;2.4999648018676908,0%" ] }, "orientation": { "type": "double", "value": "0;0" }, "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;16.038056503689972,6.123031769111886e-15%", "0;-29.403101015163656,-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_Runtime/InternalTransition/199.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/188.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/199.instance": "M368.07832439999993,524.1450829250002L368.07832439999993,557.4176632375002L384.40797172106,557.4176632375002", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/199.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/188.instance": "M384.40797172106,557.4176632375002L404.44602846249995,557.4176632375002L404.44602846249995,528.0145974204688" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink" }, "203": { "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": [ 733.4087999999999, 450.64885000000004 ] }, "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_Runtime/states/203.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/203.instance": "M675.3176000000001,385.3463999999999L733.4087999999999,450.64885000000004", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/203.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/193.instance": "M733.5087269510423,450.7611815532148L791.4995398598044,515.9507827395182" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink" }, "205": { "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": [ 406.3169582629248, 458.62156338732325 ] }, "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_Runtime/states/205.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/187.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/205.instance": "M346,423L406.3169582629249,458.62156338732325", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/205.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/188.instance": "M406.3165844503852,458.62134262375275L466.3733695443227,494.0892547776971" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink" }, "206": { "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": [ 1004.402484382073, 572.9999999999999 ] }, "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;-9.636189419568154,0%", "0;-33.499999999999886,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;-8.31400413905817,0%", "0;2.5000000000001137,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;10.913646613652759,-38.963999083669826%", "0;-24.441440036653148,-92.09672510685587%" ] }, "orientation": { "type": "double", "value": "0;-112.9321004375898" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ExternalTransition/206.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/206.instance": "M1006,550L983,573L1004.402484382073,573", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/206.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance": "M1004.402484382073,573L1030,573L1019,547" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink" }, "207": { "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": [ 842.9466845145015, 442 ] }, "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;34.97695611756683,0%", "0;40.93379748692445,0%" ] }, "orientation": { "type": "double", "value": "0;-166.6075022462489" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 0.4294478527607362, "yoffset": -31.5 } } }, "78": { "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('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;42.85205404597218,0%", "0;7.858386187621932,0%" ] }, "orientation": { "type": "double", "value": "0;-166.6075022462489" }, "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;-106.36858466012279,-44.721359549995555%", "0;63.78807220124202,89.4427190999917%" ] }, "orientation": { "type": "double", "value": "0;116.56505117707785" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -4 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InternalTransition/207.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/192.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/207.instance": "M996,512L968,472L842,442", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink/207.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/193.instance": "M842,442L749,472L733.000391090379,503.9992178192422" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InternalTransitionLink" }, "208": { "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": [ 404.53581488910356, 395.6275726376182 ] }, "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_Runtime/submodels/208.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/CoupledDEVSIcon/184.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/208.instance": "M318,332L404.53581488910356,395.6275726376182", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/208.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/187.instance": "M404.53558845553505,395.6274061468034L483.82889313386295,508.0766672255455" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink" }, "209": { "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": [ 647.8294, 419.6902774199999 ] }, "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_Runtime/submodels/209.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/CoupledDEVSIcon/184.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/209.instance": "M318,332L647.8294000000001,419.6902774199999", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/209.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance": "M647.9742309584792,419.72878298356716L977.6581195095994,507.3803739210399" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink" }, "211": { "typename": { "type": "string", "value": "AtomicDEVSIcon" }, "position": { "type": "list", "value": [ 1315, 415.05960000000005 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 0.7351 ] }, "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": "c" }, "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 ] } }, "117": { "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 filenames = getAttr('attribute_values').map(\n function(attr)\n {\n var s = attr['name'] + ' = ' + attr['val'];\n return s;\n });\n\n({'textContent': filenames.join(', ')})" }, "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, 34 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "118": { "$type": "/Formalisms/__LanguageSyntax__/ConcreteSyntax/ConcreteSyntax/Contain", "position": { "type": "list", "value": [ 30.10809182833816, 37.052173584285356 ] }, "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 } } }, "137": { "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,...} */\n({'textContent': getAttr('time_next')})" }, "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": [ 208, 8 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } }, "138": { "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": [ 185, 4 ] }, "orientation": { "type": "double", "value": 0 }, "scale": { "type": "list", "value": [ 1, 1 ] } } }, "edges": [ { "src": "14", "dest": "118" }, { "src": "118", "dest": "117" } ] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS/211.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon" }, "212": { "typename": { "type": "string", "value": "StateIcon" }, "position": { "type": "list", "value": [ 1351, 450 ] }, "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": { "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}\nif (getAttr('current')) {\n style['fill'] = 'green';\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_Runtime/State/212.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon" }, "213": { "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": [ 1376.75, 450.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_Runtime/states/213.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/211.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/213.instance": "M1323,418L1376.75,450.75", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink/213.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/212.instance": "M1376.8785870909737,450.82834841356976L1430.49917528064,483.49949749657594" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/statesLink" }, "214": { "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": [ 1379.0500355029585, 561 ] }, "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;-12.148451557193312,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;-10.479747558812278,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;15.949964497041492,6.123031769111886e-15%", "0;-47.999375868055495,-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_Runtime/ExternalTransition/214.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/212.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/214.instance": "M1360,512L1360,561L1379.0500355029585,561", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink/214.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateIcon/212.instance": "M1379.0500355029585,561L1399,561L1399,513.0006241319445" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/ExternalTransitionLink" }, "215": { "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": [ 857.7492, 419.63534551 ] }, "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_Runtime/submodels/215.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/CoupledDEVSIcon/184.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/215.instance": "M275.49839999999995,323.50239102L857.7492,419.63534551", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink/215.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/211.instance": "M857.8969287853076,419.6597363817598L1439.99909707311,515.7681509215795" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/submodelsLink" }, "222": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 619.076151083279, 546.40015204 ] }, "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_Runtime/OutputPort/222.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon" }, "223": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 685.1370681318766, 547.2840025345454 ] }, "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_Runtime/InputPort/223.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon" }, "224": { "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": [ 628, 626.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": {}, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ports/224.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/187.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/224.instance": "M612,565L628,626.5", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/224.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon/222.instance": "M628.0376762044027,626.6448179106724L695.9997621694772,643.9990858389276" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink" }, "225": { "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": [ 640.9080402319672, 662.1190954372885 ] }, "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_Runtime/ports/225.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/225.instance": "M702,583L640.9080402319673,662.1190954372885", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/225.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon/223.instance": "M640.9082250755979,662.1188560496355L550.0003694399373,665.9995215449993" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink" }, "226": { "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": [ 662.5, 556 ] }, "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;31.499524313428992,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_Runtime/channel/226.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon/222.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink/226.instance": "M631,556L662.5,556", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink/226.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon/223.instance": "M662.5771773507199,556L693.999524313429,556" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink" }, "227": { "typename": { "type": "string", "value": "OutputPortIcon" }, "position": { "type": "list", "value": [ 1267.8194681318766, 540.2840025345454 ] }, "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_Runtime/OutputPort/227.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon" }, "228": { "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": [ 1218, 680 ] }, "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_Runtime/ports/228.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/228.instance": "M1216,611L1218,680", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/228.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon/227.instance": "M1218.0043352206749,680.1495651132818L1292.9999748195637,666.9991312749421" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink" }, "229": { "typename": { "type": "string", "value": "InputPortIcon" }, "position": { "type": "list", "value": [ 1312, 542.34187201 ] }, "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_Runtime/InputPort/229.instance" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon" }, "230": { "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": [ 1315.4451724485627, 645.6396550838492 ] }, "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_Runtime/ports/230.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/211.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/230.instance": "M1342,578L1315.4451724485627,645.6396550838492", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink/230.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon/229.instance": "M1315.4453236967897,645.6392698289321L1239.0003022188694,641.9992301972201" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/portsLink" }, "231": { "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": [ 1300, 547 ] }, "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;20.999286848072643,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_Runtime/channel/231.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/OutputPortIcon/227.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink/231.instance": "M1279,547L1300,547", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink/231.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/InputPortIcon/229.instance": "M1300.0782925217059,547L1320.9992868480726,547" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/channelLink" }, "232": { "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": "stateLink" }, "position": { "type": "list", "value": [ 489, 364.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;-4.999999999999943,5.053195275411815e-14%", "0;-75.49920599973689,-100%" ] }, "orientation": { "type": "double", "value": "0;-89.99999999999997" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -5 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/state/232.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/187.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/232.instance": "M489,440L489,364.5", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/232.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon/186.instance": "M489.00000000000006,364.4992L489.00000000000006,289.0007940002631" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink" }, "233": { "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": "stateLink" }, "position": { "type": "list", "value": [ 936, 348.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;-62.49904102400001,-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_Runtime/state/233.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/191.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/233.instance": "M936,411L936,348.5", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/233.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon/185.instance": "M936,348.4990322580645L936,286.000958976" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink" }, "234": { "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": "stateLink" }, "position": { "type": "list", "value": [ 1467, 363 ] }, "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;-4.999999999999545,6.056434650666964e-13%", "0;-73.99918991964938,-100%" ] }, "orientation": { "type": "double", "value": "0;-89.99999999999966" }, "scale": { "type": "list", "value": [ 1, 1 ] }, "$linkDecoratorInfo": { "type": "map", "value": { "xratio": 1, "yoffset": -5 } } } }, "edges": [] } }, "$asuri": { "type": "string", "value": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/state/234.instance" }, "$segments": { "type": "map>", "value": { "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/AtomicDEVSIcon/211.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/234.instance": "M1467,437L1467,363", "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink/234.instance--/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/StateInstanceIcon/190.instance": "M1467,362.99918367346936L1467.0000000000005,289.0008100803507" } }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons/stateLink" } }, "edges": [], "metamodels": [ "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime.defaultIcons", "/Formalisms/ParallelDEVS/ParallelDEVS_Debug.defaultIcons" ] }, "asm": { "nodes": { "155": { "simulation_time": { "type": "float", "value": 0 }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/SimulationInstance" }, "184": { "name": { "type": "string", "value": "Root" }, "attribute_values": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 275.4984, 323.50239102 ] }, "scale": { "type": "list", "value": [ 5.3127, 1.21394414 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/CoupledDEVS" }, "185": { "name": { "type": "string", "value": "ProcessorState" }, "attribute_values": { "type": "list>", "value": [ { "name": "current_task", "val": "" }, { "name": "queue", "val": "[]" } ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/StateInstance" }, "186": { "name": { "type": "string", "value": "GeneratorState" }, "attribute_values": { "type": "list>", "value": [ { "name": "nr_of_tasks", "val": "0" } ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/StateInstance" }, "187": { "time_next": { "type": "string", "value": "" }, "name": { "type": "string", "value": "g" }, "attribute_values": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 338, 420.4792 ] }, "scale": { "type": "list", "value": [ 1.1304600443351498, 0.6302 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS" }, "188": { "name": { "type": "string", "value": "generating" }, "initial": { "type": "bool", "value": true }, "current": { "type": "bool", "value": false }, "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)]}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/State" }, "190": { "name": { "type": "string", "value": "CollectorState" }, "attribute_values": { "type": "list>", "value": [ { "name": "nr_of_tasks", "val": "0" } ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/StateInstance" }, "191": { "time_next": { "type": "string", "value": "" }, "name": { "type": "string", "value": "p" }, "attribute_values": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 675.3176, 385.3463999999999 ] }, "scale": { "type": "list", "value": [ 2.34373023255814, 0.87794356 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS" }, "192": { "name": { "type": "string", "value": "processing" }, "initial": { "type": "bool", "value": false }, "current": { "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]}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/State" }, "193": { "name": { "type": "string", "value": "idle" }, "initial": { "type": "bool", "value": true }, "current": { "type": "bool", "value": false }, "time_advance": { "type": "code", "value": "return INFINITY" }, "output": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/State" }, "195": { "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_Runtime/InternalTransition" }, "197": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/states" }, "198": { "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_Runtime/ExternalTransition" }, "199": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InternalTransition" }, "203": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/states" }, "205": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/states" }, "206": { "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_Runtime/ExternalTransition" }, "207": { "condition": { "type": "code", "value": "return not self.state.queue" }, "action": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InternalTransition" }, "208": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/submodels" }, "209": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/submodels" }, "211": { "time_next": { "type": "string", "value": "" }, "name": { "type": "string", "value": "c" }, "attribute_values": { "type": "list>", "value": [] }, "position": { "type": "list", "value": [ 1315, 415.05960000000005 ] }, "scale": { "type": "list", "value": [ 1, 0.7351 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/AtomicDEVS" }, "212": { "name": { "type": "string", "value": "collecting" }, "initial": { "type": "bool", "value": true }, "current": { "type": "bool", "value": false }, "time_advance": { "type": "code", "value": "return INFINITY" }, "output": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/State" }, "213": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/states" }, "214": { "condition": { "type": "code", "value": "" }, "action": { "type": "code", "value": "return {\"nr_of_tasks\": self.state.nr_of_tasks + 1}" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ExternalTransition" }, "215": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/submodels" }, "222": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 619.076151083279, 546.40015204 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/OutputPort" }, "223": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 685.1370681318766, 547.2840025345454 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InputPort" }, "224": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ports" }, "225": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ports" }, "226": { "transfer_function": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/channel" }, "227": { "name": { "type": "string", "value": "p_out" }, "position": { "type": "list", "value": [ 1267.8194681318766, 540.2840025345454 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/OutputPort" }, "228": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ports" }, "229": { "name": { "type": "string", "value": "p_in" }, "position": { "type": "list", "value": [ 1312, 542.34187201 ] }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/InputPort" }, "230": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/ports" }, "231": { "transfer_function": { "type": "code", "value": "" }, "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/channel" }, "232": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/state" }, "233": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/state" }, "234": { "$type": "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime/state" } }, "edges": [ { "src": "192", "dest": "195" }, { "src": "195", "dest": "192" }, { "src": "191", "dest": "197" }, { "src": "197", "dest": "192" }, { "src": "193", "dest": "198" }, { "src": "198", "dest": "192" }, { "src": "188", "dest": "199" }, { "src": "199", "dest": "188" }, { "src": "191", "dest": "203" }, { "src": "203", "dest": "193" }, { "src": "187", "dest": "205" }, { "src": "205", "dest": "188" }, { "src": "192", "dest": "206" }, { "src": "206", "dest": "192" }, { "src": "192", "dest": "207" }, { "src": "207", "dest": "193" }, { "src": "184", "dest": "208" }, { "src": "208", "dest": "187" }, { "src": "184", "dest": "209" }, { "src": "209", "dest": "191" }, { "src": "211", "dest": "213" }, { "src": "213", "dest": "212" }, { "src": "212", "dest": "214" }, { "src": "214", "dest": "212" }, { "src": "184", "dest": "215" }, { "src": "215", "dest": "211" }, { "src": "187", "dest": "224" }, { "src": "224", "dest": "222" }, { "src": "191", "dest": "225" }, { "src": "225", "dest": "223" }, { "src": "222", "dest": "226" }, { "src": "226", "dest": "223" }, { "src": "191", "dest": "228" }, { "src": "228", "dest": "227" }, { "src": "211", "dest": "230" }, { "src": "230", "dest": "229" }, { "src": "227", "dest": "231" }, { "src": "231", "dest": "229" }, { "src": "187", "dest": "232" }, { "src": "232", "dest": "186" }, { "src": "191", "dest": "233" }, { "src": "233", "dest": "185" }, { "src": "211", "dest": "234" }, { "src": "234", "dest": "190" } ], "metamodels": [ "/Formalisms/ParallelDEVS/ParallelDEVS_Runtime", "/Formalisms/ParallelDEVS/ParallelDEVS_Debug" ] } }