1 | sbool aiUsing_enabled; |
2 | static Set<S> aiUsing_set = synchroTreeSet(); |
3 | |
4 | static S aiUsing(S s) { |
5 | if (aiUsing_enabled) |
6 | aiUsing_set.addAll(aggressivelyCollectPossibleGlobalIDs(s)); |
7 | ret s; |
8 | } |
9 | |
10 | static void aiUsing(O o) { |
11 | // TODO |
12 | } |
13 | |
14 | static <A> L<A> aiUsing(L<A> l) { |
15 | if (aiUsing_enabled) |
16 | for (O li : unnull(l)) aiUsing(li); |
17 | ret l; |
18 | } |
19 | |
20 | static Lisp aiUsing(Lisp l) { |
21 | if (aiUsing_enabled && l != null) { |
22 | aiUsing(l.head); |
23 | for (Lisp sub : l) aiUsing(sub); |
24 | } |
25 | ret l; |
26 | } |
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: | #1007700 |
Snippet name: | aiUsing - record that we are using AI concepts in a calculation - see aiUsing_print |
Eternal ID of this version: | #1007700/15 |
Text MD5: | bbe4f9a68ed56f0986ddc9aa43420a6f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-16 18:56:56 |
Source code size: | 508 bytes / 26 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 630 / 623 |
Version history: | 14 change(s) |
Referenced in: | [show references] |