Libraryless. Click here for Pure Java version (2705L/17K).
// opt parameter int max static Set<ES> applyAttractors_es(L<? extends IAttractor> attractors, Collection<ES> inputs, O... _) { Set<ES> out = cloneLinkedCISet_es(inputs); for unnull (ES input : inputs) functionReturningList_transitiveHull_ciSet_es(func(ES s) -> Collection<ES> { applyAttractors_es_step(attractors, s) }, input, paramsPlus(_, seen := out)); ret out; }
Began life as a copy of #1023199
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1023236 |
| Snippet name: | applyAttractors_es (collects emits from matching attractors) |
| Eternal ID of this version: | #1023236/9 |
| Text MD5: | 2dce28bf553f1ada13eb844b10b3017d |
| Transpilation MD5: | fc8cc326ba93186b5baab32f8d9e15d8 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-06-27 13:32:48 |
| Source code size: | 385 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 584 / 762 |
| Version history: | 8 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1023250 - applyAttractors_es_step (collects emits from matching attractors) |