static L<AIConcept> aiConceptsPrioritized() { new L<AIConcept> l; for (S id : priorityConcepts) { AIConcept c = getAIConcept(id); if (c == null) print("Warning: Not found " + id); addIfNotNull(l, c); } Set<S> index = new HashSet(priorityConcepts); for (AIConcept c : aiConceptsByAge()) if (!index.contains(c.globalID)) l.add(c); ret l; }
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: | #1007723 |
| Snippet name: | aiConceptsPrioritized [dev.] |
| Eternal ID of this version: | #1007723/1 |
| Text MD5: | 89afe81304307a5773bad61b63f0e60c |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-04-02 23:28:49 |
| Source code size: | 387 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 858 / 822 |
| Referenced in: | [show references] |