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

8
LINES

< > BotCompany Repo | #1018063 // ai_factsFromNewFacts - uses all known rules + facts plus new facts given

JavaX fragment (include)

1  
static Set<S> ai_factsFromNewFacts(LS newFacts) {
2  
  Pair<L<IfThen>, LS> p = ai_rulesAndFacts();
3  
  ret ai_deriveFacts(p.a, concatLists(newFacts, p.b));
4  
}
5  
6  
static Set<S> ai_factsFromNewFacts(S... newFacts) {
7  
  ret ai_factsFromNewFacts(asList(newFacts));
8  
}

Author comment

Began life as a copy of #1018057

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: #1018063
Snippet name: ai_factsFromNewFacts - uses all known rules + facts plus new facts given
Eternal ID of this version: #1018063/2
Text MD5: 065f58ae8b1fb5631e5ad7ae97cf599b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-29 12:23:56
Source code size: 260 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 375 / 417
Version history: 1 change(s)
Referenced in: [show references]