Libraryless. Click here for Pure Java version (7299L/42K).
1 | asclass AbstractCompressor<A> extends Probabilistic { |
2 | CompressionSearch<A> search; |
3 | |
4 | *() {} |
5 | *(CompressionSearch<A> *search) {} |
6 | |
7 | void setSearch(CompressionSearch<A> search) { |
8 | if (this.search != null && this.search != search) fail(); |
9 | this.search = search; |
10 | } |
11 | |
12 | CompressionRegime<A> regime() { ret search?.regime(); } |
13 | |
14 | // get current best compressed representation |
15 | //abstract A currentBestDecompressor aka get(); |
16 | } |
Began life as a copy of #1033140
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033150 |
Snippet name: | AbstractCompressor |
Eternal ID of this version: | #1033150/9 |
Text MD5: | 53ff4bbd0e86f6b4482cb2ce3d8e61ea |
Transpilation MD5: | 737a4973283ba0129ddab6ee3b253fc6 |
Author: | stefan |
Category: | javax / recognition by compression |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-15 20:08:21 |
Source code size: | 455 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 244 / 376 |
Version history: | 8 change(s) |
Referenced in: | [show references] |