ParallelDEVS_Runtime.metamodel 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. {
  2. "types": {
  3. "State": [
  4. {
  5. "name": "name",
  6. "type": "string",
  7. "default": ""
  8. },
  9. {
  10. "name": "initial",
  11. "type": "bool",
  12. "default": false
  13. },
  14. {
  15. "name": "current",
  16. "type": "bool",
  17. "default": false
  18. },
  19. {
  20. "name": "time_advance",
  21. "type": "code",
  22. "default": ""
  23. },
  24. {
  25. "name": "output",
  26. "type": "code",
  27. "default": ""
  28. }
  29. ],
  30. "EventInstance": [
  31. {
  32. "name": "event_type",
  33. "type": "string",
  34. "default": ""
  35. },
  36. {
  37. "name": "attribute_values",
  38. "type": "list<map<[name,val],[string,string]>>",
  39. "default": []
  40. },
  41. {
  42. "name": "position",
  43. "type": "list<int>",
  44. "default": [
  45. 0,
  46. 0
  47. ]
  48. }
  49. ],
  50. "Port": [
  51. {
  52. "name": "name",
  53. "type": "string",
  54. "default": ""
  55. },
  56. {
  57. "name": "position",
  58. "type": "list<int>",
  59. "default": [
  60. 0,
  61. 0
  62. ]
  63. }
  64. ],
  65. "InputPort": [
  66. {
  67. "name": "name",
  68. "type": "string",
  69. "default": ""
  70. },
  71. {
  72. "name": "position",
  73. "type": "list<int>",
  74. "default": [
  75. 0,
  76. 0
  77. ]
  78. }
  79. ],
  80. "CoupledDEVS": [
  81. {
  82. "name": "name",
  83. "type": "string",
  84. "default": ""
  85. },
  86. {
  87. "name": "attribute_values",
  88. "type": "list<map<[name,val],[string,string]>>",
  89. "default": []
  90. },
  91. {
  92. "name": "position",
  93. "type": "list<int>",
  94. "default": [
  95. 0,
  96. 0
  97. ]
  98. },
  99. {
  100. "name": "scale",
  101. "type": "list<int>",
  102. "default": [
  103. 0,
  104. 0
  105. ]
  106. }
  107. ],
  108. "SimulationInstance": [
  109. {
  110. "name": "simulation_time",
  111. "type": "float",
  112. "default": 0
  113. }
  114. ],
  115. "StateInstance": [
  116. {
  117. "name": "name",
  118. "type": "string",
  119. "default": ""
  120. },
  121. {
  122. "name": "attribute_values",
  123. "type": "list<map<[name,val],[string,string]>>",
  124. "default": []
  125. }
  126. ],
  127. "AtomicDEVS": [
  128. {
  129. "name": "time_next",
  130. "type": "string",
  131. "default": ""
  132. },
  133. {
  134. "name": "name",
  135. "type": "string",
  136. "default": ""
  137. },
  138. {
  139. "name": "attribute_values",
  140. "type": "list<map<[name,val],[string,string]>>",
  141. "default": []
  142. },
  143. {
  144. "name": "position",
  145. "type": "list<int>",
  146. "default": [
  147. 0,
  148. 0
  149. ]
  150. },
  151. {
  152. "name": "scale",
  153. "type": "list<int>",
  154. "default": [
  155. 0,
  156. 0
  157. ]
  158. }
  159. ],
  160. "BaseDEVS": [
  161. {
  162. "name": "name",
  163. "type": "string",
  164. "default": ""
  165. },
  166. {
  167. "name": "attribute_values",
  168. "type": "list<map<[name,val],[string,string]>>",
  169. "default": []
  170. },
  171. {
  172. "name": "position",
  173. "type": "list<int>",
  174. "default": [
  175. 0,
  176. 0
  177. ]
  178. },
  179. {
  180. "name": "scale",
  181. "type": "list<int>",
  182. "default": [
  183. 0,
  184. 0
  185. ]
  186. }
  187. ],
  188. "OutputPort": [
  189. {
  190. "name": "name",
  191. "type": "string",
  192. "default": ""
  193. },
  194. {
  195. "name": "position",
  196. "type": "list<int>",
  197. "default": [
  198. 0,
  199. 0
  200. ]
  201. }
  202. ],
  203. "ports": [],
  204. "ExternalTransition": [
  205. {
  206. "name": "condition",
  207. "type": "code",
  208. "default": ""
  209. },
  210. {
  211. "name": "action",
  212. "type": "code",
  213. "default": ""
  214. }
  215. ],
  216. "ConfluentTransition": [
  217. {
  218. "name": "condition",
  219. "type": "code",
  220. "default": ""
  221. },
  222. {
  223. "name": "action",
  224. "type": "code",
  225. "default": ""
  226. }
  227. ],
  228. "state": [],
  229. "channel": [
  230. {
  231. "name": "transfer_function",
  232. "type": "code",
  233. "default": ""
  234. }
  235. ],
  236. "states": [],
  237. "InternalTransition": [
  238. {
  239. "name": "condition",
  240. "type": "code",
  241. "default": ""
  242. },
  243. {
  244. "name": "action",
  245. "type": "code",
  246. "default": ""
  247. }
  248. ],
  249. "submodels": [],
  250. "injectLocation": [
  251. {
  252. "name": "time",
  253. "type": "float",
  254. "default": -1
  255. }
  256. ]
  257. },
  258. "constraints": [
  259. {
  260. "name": "noAbstractInstances",
  261. "event": "pre-create",
  262. "code": "false",
  263. "targetType": "Port"
  264. },
  265. {
  266. "name": "noAbstractInstances",
  267. "event": "pre-create",
  268. "code": "false",
  269. "targetType": "BaseDEVS"
  270. }
  271. ],
  272. "actions": [
  273. {
  274. "name": "snapToTarget",
  275. "event": "post-connect",
  276. "code": "/*newline*/var neighborLinks = getNeighbors('*'),/*newline*/ neighborLink = undefined,/*newline*/ to_change = true;/*newline*/if (neighborLinks.length > 0) {/*newline*/ for (var i in neighborLinks) {/*newline*/ if (getAttr('$type', neighborLinks[i]).match(/ports/)) {/*newline*/ neighborLink = neighborLinks[i];/*newline*/ } else if (getAttr('$type', neighborLinks[i]).match(/channel/)) {/*newline*/ to_change = false;/*newline*/ }/*newline*/ }/*newline*/}/*newline*/if ( neighborLink ) {/*newline*/ var neighbor = getNeighbors('<', '*', neighborLink)[0],/*newline*/ npos = getAttr('position', neighbor),/*newline*/ nscale = getAttr('scale', neighbor),/*newline*/ mypos = getAttr('position'),/*newline*/ newpos = mypos;/*newline*/ if (!to_change) {/*newline*/ newpos = mypos;/*newline*/ } else if (mypos[1] > npos[1] + (250 * nscale[1])) {/*newline*/ newpos[1] = npos[1] + (250 * nscale[1]);/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[1] < npos[1]) {/*newline*/ newpos[1] = npos[1];/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]);/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0];/*newline*/ }/*newline*/ if (to_change) {/*newline*/ newpos = [newpos[0] - nscale[0] * (2 + nscale[0]), newpos[1] + nscale[1] * (19 + nscale[1])];/*newline*/ }/*newline*/ setAttr('position', newpos);/*newline*/}",
  277. "targetType": "Port"
  278. },
  279. {
  280. "name": "snapToTarget",
  281. "event": "post-connect",
  282. "code": "/*newline*/var neighborLinks = getNeighbors('*'),/*newline*/ neighborLink = undefined,/*newline*/ to_change = true;/*newline*/if (neighborLinks.length > 0) {/*newline*/ for (var i in neighborLinks) {/*newline*/ if (getAttr('$type', neighborLinks[i]).match(/ports/)) {/*newline*/ neighborLink = neighborLinks[i];/*newline*/ } else if (getAttr('$type', neighborLinks[i]).match(/channel/)) {/*newline*/ to_change = false;/*newline*/ }/*newline*/ }/*newline*/}/*newline*/if ( neighborLink ) {/*newline*/ var neighbor = getNeighbors('<', '*', neighborLink)[0],/*newline*/ npos = getAttr('position', neighbor),/*newline*/ nscale = getAttr('scale', neighbor),/*newline*/ mypos = getAttr('position'),/*newline*/ newpos = mypos;/*newline*/ if (!to_change) {/*newline*/ newpos = mypos;/*newline*/ } else if (mypos[1] > npos[1] + (250 * nscale[1])) {/*newline*/ newpos[1] = npos[1] + (250 * nscale[1]);/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[1] < npos[1]) {/*newline*/ newpos[1] = npos[1];/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]);/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0];/*newline*/ }/*newline*/ if (to_change) {/*newline*/ newpos = [newpos[0] - nscale[0] * (2 + nscale[0]), newpos[1] + nscale[1] * (19 + nscale[1])];/*newline*/ }/*newline*/ setAttr('position', newpos);/*newline*/}",
  283. "targetType": "InputPort"
  284. },
  285. {
  286. "name": "snapToTarget",
  287. "event": "post-connect",
  288. "code": "/*newline*/var neighborLinks = getNeighbors('*'),/*newline*/ neighborLink = undefined,/*newline*/ to_change = true;/*newline*/if (neighborLinks.length > 0) {/*newline*/ for (var i in neighborLinks) {/*newline*/ if (getAttr('$type', neighborLinks[i]).match(/ports/)) {/*newline*/ neighborLink = neighborLinks[i];/*newline*/ } else if (getAttr('$type', neighborLinks[i]).match(/channel/)) {/*newline*/ to_change = false;/*newline*/ }/*newline*/ }/*newline*/}/*newline*/if ( neighborLink ) {/*newline*/ var neighbor = getNeighbors('<', '*', neighborLink)[0],/*newline*/ npos = getAttr('position', neighbor),/*newline*/ nscale = getAttr('scale', neighbor),/*newline*/ mypos = getAttr('position'),/*newline*/ newpos = mypos;/*newline*/ if (!to_change) {/*newline*/ newpos = mypos;/*newline*/ } else if (mypos[1] > npos[1] + (250 * nscale[1])) {/*newline*/ newpos[1] = npos[1] + (250 * nscale[1]);/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[1] < npos[1]) {/*newline*/ newpos[1] = npos[1];/*newline*/ if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]) - 50;/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0] + 50;/*newline*/ }/*newline*/ } else if (mypos[0] > npos[0] + (250 * nscale[0])) {/*newline*/ newpos[0] = npos[0] + (250 * nscale[0]);/*newline*/ } else if (mypos[0] < npos[0]) {/*newline*/ newpos[0] = npos[0];/*newline*/ }/*newline*/ if (to_change) {/*newline*/ newpos = [newpos[0] - nscale[0] * (2 + nscale[0]), newpos[1] + nscale[1] * (19 + nscale[1])];/*newline*/ }/*newline*/ setAttr('position', newpos);/*newline*/}",
  289. "targetType": "OutputPort"
  290. }
  291. ],
  292. "cardinalities": {
  293. "State": [
  294. {
  295. "dir": "in",
  296. "type": "states",
  297. "min": "1",
  298. "max": "1"
  299. },
  300. {
  301. "dir": "out",
  302. "type": "ExternalTransition",
  303. "min": "0",
  304. "max": "Infinity"
  305. },
  306. {
  307. "dir": "in",
  308. "type": "ExternalTransition",
  309. "min": "0",
  310. "max": "Infinity"
  311. },
  312. {
  313. "dir": "out",
  314. "type": "ConfluentTransition",
  315. "min": "0",
  316. "max": "Infinity"
  317. },
  318. {
  319. "dir": "in",
  320. "type": "ConfluentTransition",
  321. "min": "0",
  322. "max": "Infinity"
  323. },
  324. {
  325. "dir": "out",
  326. "type": "InternalTransition",
  327. "min": "0",
  328. "max": "Infinity"
  329. },
  330. {
  331. "dir": "in",
  332. "type": "InternalTransition",
  333. "min": "0",
  334. "max": "Infinity"
  335. }
  336. ],
  337. "EventInstance": [
  338. {
  339. "dir": "out",
  340. "type": "injectLocation",
  341. "min": "1",
  342. "max": "1"
  343. }
  344. ],
  345. "Port": [
  346. {
  347. "dir": "in",
  348. "type": "ports",
  349. "min": "1",
  350. "max": "1"
  351. },
  352. {
  353. "dir": "in",
  354. "type": "channel",
  355. "min": "0",
  356. "max": "*"
  357. },
  358. {
  359. "dir": "out",
  360. "type": "channel",
  361. "min": "0",
  362. "max": "*"
  363. },
  364. {
  365. "dir": "in",
  366. "type": "injectLocation",
  367. "min": "0",
  368. "max": "Infinity"
  369. }
  370. ],
  371. "InputPort": [
  372. {
  373. "dir": "in",
  374. "type": "ports",
  375. "min": "1",
  376. "max": "1"
  377. },
  378. {
  379. "dir": "in",
  380. "type": "channel",
  381. "min": "0",
  382. "max": "*"
  383. },
  384. {
  385. "dir": "out",
  386. "type": "channel",
  387. "min": "0",
  388. "max": "*"
  389. },
  390. {
  391. "dir": "in",
  392. "type": "injectLocation",
  393. "min": "0",
  394. "max": "Infinity"
  395. }
  396. ],
  397. "CoupledDEVS": [
  398. {
  399. "dir": "in",
  400. "type": "submodels",
  401. "min": "0",
  402. "max": "1"
  403. },
  404. {
  405. "dir": "out",
  406. "type": "submodels",
  407. "min": "0",
  408. "max": "Infinity"
  409. },
  410. {
  411. "dir": "out",
  412. "type": "ports",
  413. "min": "0",
  414. "max": "Infinity"
  415. }
  416. ],
  417. "SimulationInstance": [],
  418. "StateInstance": [
  419. {
  420. "dir": "in",
  421. "type": "state",
  422. "min": "0",
  423. "max": "Infinity"
  424. }
  425. ],
  426. "AtomicDEVS": [
  427. {
  428. "dir": "out",
  429. "type": "state",
  430. "min": "1",
  431. "max": "1"
  432. },
  433. {
  434. "dir": "in",
  435. "type": "submodels",
  436. "min": "0",
  437. "max": "1"
  438. },
  439. {
  440. "dir": "out",
  441. "type": "states",
  442. "min": "0",
  443. "max": "Infinity"
  444. },
  445. {
  446. "dir": "out",
  447. "type": "ports",
  448. "min": "0",
  449. "max": "Infinity"
  450. }
  451. ],
  452. "BaseDEVS": [
  453. {
  454. "dir": "in",
  455. "type": "submodels",
  456. "min": "0",
  457. "max": "1"
  458. },
  459. {
  460. "dir": "out",
  461. "type": "ports",
  462. "min": "0",
  463. "max": "Infinity"
  464. }
  465. ],
  466. "OutputPort": [
  467. {
  468. "dir": "in",
  469. "type": "ports",
  470. "min": "1",
  471. "max": "1"
  472. },
  473. {
  474. "dir": "in",
  475. "type": "channel",
  476. "min": "0",
  477. "max": "*"
  478. },
  479. {
  480. "dir": "out",
  481. "type": "channel",
  482. "min": "0",
  483. "max": "*"
  484. },
  485. {
  486. "dir": "in",
  487. "type": "injectLocation",
  488. "min": "0",
  489. "max": "Infinity"
  490. }
  491. ],
  492. "ports": [
  493. {
  494. "dir": "in",
  495. "type": "BaseDEVS",
  496. "min": "0",
  497. "max": "1"
  498. },
  499. {
  500. "dir": "out",
  501. "type": "Port",
  502. "min": "0",
  503. "max": "1"
  504. },
  505. {
  506. "dir": "out",
  507. "type": "InputPort",
  508. "min": "0",
  509. "max": "1"
  510. },
  511. {
  512. "dir": "in",
  513. "type": "CoupledDEVS",
  514. "min": "0",
  515. "max": "1"
  516. },
  517. {
  518. "dir": "in",
  519. "type": "AtomicDEVS",
  520. "min": "0",
  521. "max": "1"
  522. },
  523. {
  524. "dir": "out",
  525. "type": "OutputPort",
  526. "min": "0",
  527. "max": "1"
  528. }
  529. ],
  530. "ExternalTransition": [
  531. {
  532. "dir": "in",
  533. "type": "State",
  534. "min": "0",
  535. "max": "1"
  536. },
  537. {
  538. "dir": "out",
  539. "type": "State",
  540. "min": "0",
  541. "max": "1"
  542. }
  543. ],
  544. "ConfluentTransition": [
  545. {
  546. "dir": "in",
  547. "type": "State",
  548. "min": "0",
  549. "max": "1"
  550. },
  551. {
  552. "dir": "out",
  553. "type": "State",
  554. "min": "0",
  555. "max": "1"
  556. }
  557. ],
  558. "state": [
  559. {
  560. "dir": "in",
  561. "type": "AtomicDEVS",
  562. "min": "0",
  563. "max": "1"
  564. },
  565. {
  566. "dir": "out",
  567. "type": "StateInstance",
  568. "min": "0",
  569. "max": "1"
  570. }
  571. ],
  572. "channel": [
  573. {
  574. "dir": "in",
  575. "type": "Port",
  576. "min": "0",
  577. "max": "1"
  578. },
  579. {
  580. "dir": "out",
  581. "type": "Port",
  582. "min": "0",
  583. "max": "1"
  584. },
  585. {
  586. "dir": "in",
  587. "type": "InputPort",
  588. "min": "0",
  589. "max": "1"
  590. },
  591. {
  592. "dir": "out",
  593. "type": "InputPort",
  594. "min": "0",
  595. "max": "1"
  596. },
  597. {
  598. "dir": "in",
  599. "type": "OutputPort",
  600. "min": "0",
  601. "max": "1"
  602. },
  603. {
  604. "dir": "out",
  605. "type": "OutputPort",
  606. "min": "0",
  607. "max": "1"
  608. }
  609. ],
  610. "states": [
  611. {
  612. "dir": "in",
  613. "type": "AtomicDEVS",
  614. "min": "0",
  615. "max": "1"
  616. },
  617. {
  618. "dir": "out",
  619. "type": "State",
  620. "min": "0",
  621. "max": "1"
  622. }
  623. ],
  624. "InternalTransition": [
  625. {
  626. "dir": "in",
  627. "type": "State",
  628. "min": "0",
  629. "max": "1"
  630. },
  631. {
  632. "dir": "out",
  633. "type": "State",
  634. "min": "0",
  635. "max": "1"
  636. }
  637. ],
  638. "submodels": [
  639. {
  640. "dir": "in",
  641. "type": "CoupledDEVS",
  642. "min": "0",
  643. "max": "1"
  644. },
  645. {
  646. "dir": "out",
  647. "type": "BaseDEVS",
  648. "min": "0",
  649. "max": "1"
  650. },
  651. {
  652. "dir": "out",
  653. "type": "CoupledDEVS",
  654. "min": "0",
  655. "max": "1"
  656. },
  657. {
  658. "dir": "out",
  659. "type": "AtomicDEVS",
  660. "min": "0",
  661. "max": "1"
  662. }
  663. ],
  664. "injectLocation": [
  665. {
  666. "dir": "in",
  667. "type": "EventInstance",
  668. "min": "0",
  669. "max": "1"
  670. },
  671. {
  672. "dir": "out",
  673. "type": "Port",
  674. "min": "0",
  675. "max": "1"
  676. },
  677. {
  678. "dir": "out",
  679. "type": "InputPort",
  680. "min": "0",
  681. "max": "1"
  682. },
  683. {
  684. "dir": "out",
  685. "type": "OutputPort",
  686. "min": "0",
  687. "max": "1"
  688. }
  689. ]
  690. },
  691. "legalConnections": {
  692. "State": {
  693. "State": [
  694. "ExternalTransition",
  695. "ConfluentTransition",
  696. "InternalTransition"
  697. ]
  698. },
  699. "EventInstance": {
  700. "Port": [
  701. "injectLocation"
  702. ],
  703. "InputPort": [
  704. "injectLocation"
  705. ],
  706. "OutputPort": [
  707. "injectLocation"
  708. ]
  709. },
  710. "Port": {
  711. "Port": [
  712. "channel"
  713. ],
  714. "InputPort": [
  715. "channel"
  716. ],
  717. "OutputPort": [
  718. "channel"
  719. ]
  720. },
  721. "InputPort": {
  722. "Port": [
  723. "channel"
  724. ],
  725. "InputPort": [
  726. "channel"
  727. ],
  728. "OutputPort": [
  729. "channel"
  730. ]
  731. },
  732. "CoupledDEVS": {
  733. "BaseDEVS": [
  734. "submodels"
  735. ],
  736. "CoupledDEVS": [
  737. "submodels"
  738. ],
  739. "AtomicDEVS": [
  740. "submodels"
  741. ],
  742. "Port": [
  743. "ports"
  744. ],
  745. "InputPort": [
  746. "ports"
  747. ],
  748. "OutputPort": [
  749. "ports"
  750. ]
  751. },
  752. "AtomicDEVS": {
  753. "StateInstance": [
  754. "state"
  755. ],
  756. "State": [
  757. "states"
  758. ],
  759. "Port": [
  760. "ports"
  761. ],
  762. "InputPort": [
  763. "ports"
  764. ],
  765. "OutputPort": [
  766. "ports"
  767. ]
  768. },
  769. "BaseDEVS": {
  770. "Port": [
  771. "ports"
  772. ],
  773. "InputPort": [
  774. "ports"
  775. ],
  776. "OutputPort": [
  777. "ports"
  778. ]
  779. },
  780. "OutputPort": {
  781. "Port": [
  782. "channel"
  783. ],
  784. "InputPort": [
  785. "channel"
  786. ],
  787. "OutputPort": [
  788. "channel"
  789. ]
  790. }
  791. },
  792. "connectorTypes": {
  793. "ports": "visual",
  794. "ExternalTransition": "visual",
  795. "ConfluentTransition": "visual",
  796. "state": "visual",
  797. "channel": "visual",
  798. "states": "containment",
  799. "InternalTransition": "visual",
  800. "submodels": "containment",
  801. "injectLocation": "visual"
  802. },
  803. "types2parentTypes": {
  804. "State": [],
  805. "EventInstance": [],
  806. "Port": [],
  807. "InputPort": [
  808. "Port"
  809. ],
  810. "CoupledDEVS": [
  811. "BaseDEVS"
  812. ],
  813. "SimulationInstance": [],
  814. "StateInstance": [],
  815. "AtomicDEVS": [
  816. "BaseDEVS"
  817. ],
  818. "BaseDEVS": [],
  819. "OutputPort": [
  820. "Port"
  821. ],
  822. "ports": [],
  823. "ExternalTransition": [],
  824. "ConfluentTransition": [],
  825. "state": [],
  826. "channel": [],
  827. "states": [],
  828. "InternalTransition": [],
  829. "submodels": [],
  830. "injectLocation": []
  831. }
  832. }