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

14
LINES

< > BotCompany Repo | #1014390 // Merge AI-found examples into original lists (OK)

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

Download Jar. Libraryless. Click here for Pure Java version (7091L/47K).

!7

p {
  S base = "heise.de 2018/04/20 (raw)";
  for (S list : mechListsPlusNumber(barCombine(base, "Similar lines"))) {
    S moreList = barCombine(list, "Theory 1", "More matching lines");
    L<S> more = mechList_opt(moreList);
    if (nempty(more)) {
      print("Merging " + moreList + " -> " + list);
      addToMechList(list, more);
      clearMechList(moreList);
    }
  }
}

Author comment

Began life as a copy of #1014388

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: #1014390
Snippet name: Merge AI-found examples into original lists (OK)
Eternal ID of this version: #1014390/3
Text MD5: 89e28fcb588045e82f000c74863d134f
Transpilation MD5: 28b75d6ee51bbc881adf405afb87ce6f
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-21 01:23:12
Source code size: 396 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 328 / 774
Version history: 2 change(s)
Referenced in: [show references]