1 | Agent > Agent_abs_NameToMarker { |
2 | S marker; |
3 | O tester; // func(S) -> bool |
4 | |
5 | *() {} |
6 | *(S *marker, O *tester) {} |
7 | |
8 | void impl { |
9 | for (AIConcept c : aiConcepts()) |
10 | if (isTrue(pcallF(tester, c.name))) |
11 | emit(marker + " " + c.globalID); |
12 | } |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1007638 |
Snippet name: | Agent_abs_NameToMarker |
Eternal ID of this version: | #1007638/1 |
Text MD5: | c363fc9e0575174c106aa2a2e0cad34b |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-30 11:47:34 |
Source code size: | 271 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 552 / 1130 |
Referenced in: | [show references] |