Download Jar. Uses 616K of libraries. Click here for Pure Java version (13602L/96K).
!7 static Concepts concepts; p { concepts = new Concepts(#1007609).load(); Web web1 = getWeb(38), web2 = getWeb(35); printWeb(web1); printWeb(web2); print("Merging."); Web web = web_mergeWebs(web1, web2); printWeb(web); print("Thinking."); for (Pair<WebNode> p : web_relationsOfType(web, "IS")) { web_copyRelations(p.a, p.b); web_copyRelations(p.b, p.a); } printWeb(web); showCAL(webToCAL(web)); } static Web getWeb(long drawingID) { Drawing d = getConcept(concepts, Drawing, drawingID); if (d == null) fail("Drawing " + drawingID + " not found"); ret web_labelsToUpperCase(calToWeb(d.cal())); }
Began life as a copy of #1009964
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009975 |
Snippet name: | Think about diagrams 2 [merging two diagrams, OK] |
Eternal ID of this version: | #1009975/3 |
Text MD5: | 7a0495b7fcbd36ef67594ba9b1de9907 |
Transpilation MD5: | 5af7d0ba3ccf9dba5a055492b1550104 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-27 23:54:16 |
Source code size: | 669 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 571 / 1357 |
Version history: | 2 change(s) |
Referenced in: | -