// returns true if any changes were made (deletions or additions) static bool post_correctThird(S a, S b, S c) { bool found = false, changes = false; for (TripleWeb w : ai_triples(a, b, "$X")) { if (eqic(w.c, c)) found = true; else { ai_invalidateTriple(w); changes = true; } } if (!found) { post(a, b, c); changes = true; } ret changes; }
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: | #1013432 |
Snippet name: | post_correctThird |
Eternal ID of this version: | #1013432/1 |
Text MD5: | 6df85bd5124c5f173700f8ad7bf0d65e |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-06 07:57:07 |
Source code size: | 374 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 358 / 408 |
Referenced in: | [show references] |