Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1012376 // Test TripleIndex

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (11727L/77K).

!7

set flag ai_tripleToWebNode_debug.

p {
  new TripleIndex index;
  index.addWeb(webFromTriple("a", "b", "c"));
  L<WebNode> l = printStruct(unlazyList(index.get("b")));
  assertEquals(1, l(l));
  assertTrue(first(l) instanceof WebRelation);
  print("OK");
}

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: #1012376
Snippet name: Test TripleIndex
Eternal ID of this version: #1012376/4
Text MD5: 68cf6f0e7b4811889eb3e171dde7f6a0
Transpilation MD5: d1a6c9835a9c6f07d102d714558f090d
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-29 00:28:49
Source code size: 272 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 343 / 779
Version history: 3 change(s)
Referenced in: [show references]