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

5
LINES

< > BotCompany Repo | #1018279 // nlLogic_collectExecutedRulesWithOutputOrFacts

JavaX fragment (include)

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

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: 318 / 327
Referenced in: [show references]