Download Jar. Libraryless. Click here for Pure Java version (16346L/115K).
!7 p { File f = getProgramFile(#1010745, "logged-subspaces/subspace2.gz"); AI_SubSpace subSpace = cast loadGZStructure(f); print("Have subspace with " + nWeb(subSpace.webs)); print("Sources: " + struct(collectUnique(subSpace.webs, 'source))); Web seedWeb = first(subSpace.webs); T3<S> seed = webToTriple(seedWeb); print("Seed: " + ai_renderTriple(seed)); T3<S> goal = t3("$X", "answers", seed.a); print("Goal: " + ai_renderTriple(goal)); Web solution = webNodeToWeb(last(webs_tripleSearch_dollarX(subSpace.webs, goal))); print("Solution: " + webToStringShort(solution)); print("Solution source: " + solution.source); }
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: | #1012131 |
Snippet name: | Analyze logged subspace [dev.] |
Eternal ID of this version: | #1012131/12 |
Text MD5: | d7bcd0cb1c220d8649e7b302f396db66 |
Transpilation MD5: | 1116d82335d96e561bddc1cb193103ae |
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-11-21 09:57:19 |
Source code size: | 662 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 580 / 1253 |
Version history: | 11 change(s) |
Referenced in: | [show references] |