Start to work on Huffman encoding exercise

master
Felix Martin 2021-02-14 21:08:04 -05:00
parent cc8a0443cb
commit 7dba9d03ab
4 changed files with 2008 additions and 1 deletions

1001
data/c3a3_huffman.txt Normal file

File diff suppressed because it is too large Load Diff

1001
data/c3a3_mwis.txt Normal file

File diff suppressed because it is too large Load Diff

5
src/huffman.rs Normal file
View File

@ -0,0 +1,5 @@
pub struct HuffmanAlphabet {
pub length: u32,
pub frequencies: Vec<u32>,
}

View File

@ -129,6 +129,6 @@ fn main() {
// c2a3();
// c2a4();
// c3a1();
c3a2();
// c3a2();
c3a3();
}