Uses 11335K of libraries. Click here for Pure Java version (4325L/27K).
1 | sS lcStream_prediction(LCStreamingCompressor comp) { |
2 | LineComp_PairIndex.Node tail = comp.chain.tail; |
3 | if (tail == null) null; |
4 | //print("tail", tail); |
5 | OptimizedMultiSet<Int> partners = comp.popularRightPartners.get(tail.value); |
6 | if (partners == null) null; |
7 | //print(+partners); |
8 | ret comp.itemToString(partners.getMostPopularEntry()); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029110 |
Snippet name: | lcStream_prediction |
Eternal ID of this version: | #1029110/2 |
Text MD5: | 84a01330e1f836d79958aef5ecca5016 |
Transpilation MD5: | 8f2ad148736e9d17c9da63085ba80f0f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-19 23:21:59 |
Source code size: | 351 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 184 / 261 |
Version history: | 1 change(s) |
Referenced in: | [show references] |