sbool nlLogic_matchRandomFact(NLLogicChecker_v2 c, S pat, NLLogicChecker_v2.Matching m) { L<VarMatches> choices = nlLogic_matchAllFacts(c, pat, m); if (empty(choices)) false; m.matches = random(choices); true; }
Began life as a copy of #1017934
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: | #1017935 |
| Snippet name: | nlLogic_matchRandomFact |
| Eternal ID of this version: | #1017935/9 |
| Text MD5: | 4f18ced2b83810a481e5244cc171ff59 |
| 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-19 16:43:47 |
| Source code size: | 224 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 745 / 795 |
| Version history: | 8 change(s) |
| Referenced in: | [show references] |