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

9
LINES

< > BotCompany Repo | #1012519 // ai_allSubtypeRelations

JavaX fragment (include)

static L<Pair<S>> ai_allSubtypeRelations() {
  new L<Pair<S>> l;
  for (WebRelation r : indexedRelations("is")) {
    S a = web_text(r.a), b = web_text(r.b);
    if (ai_isAOrAn(a) && ai_isAOrAn(b))
      l.add(pair(a, b));
  }
  ret l;
}

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: #1012519
Snippet name: ai_allSubtypeRelations
Eternal ID of this version: #1012519/3
Text MD5: 5886d5322328b180422328e0ff415c23
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-06 17:22:19
Source code size: 245 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 425 / 438
Version history: 2 change(s)
Referenced in: [show references]