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

5
LINES

< > BotCompany Repo | #1018279 // nlLogic_collectExecutedRulesWithOutputOrFacts

JavaX fragment (include)

svoid nlLogic_collectExecutedRulesWithOutputOrFacts(L<ExecutedRule> in, L<ExecutedRule> out) {
  for (ExecutedRule r : in)
    if (nempty(r.output) || nempty(r.facts))
      out.add(r);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1018279
Snippet name: nlLogic_collectExecutedRulesWithOutputOrFacts
Eternal ID of this version: #1018279/1
Text MD5: 5abd1e0c6f560361f70115baa03d89ca
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-14 13:03:29
Source code size: 193 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 201 / 234
Referenced in: [show references]