Start to work on Huffman encoding exercise
This commit is contained in:
1001
data/c3a3_huffman.txt
Normal file
1001
data/c3a3_huffman.txt
Normal file
File diff suppressed because it is too large
Load Diff
1001
data/c3a3_mwis.txt
Normal file
1001
data/c3a3_mwis.txt
Normal file
File diff suppressed because it is too large
Load Diff
5
src/huffman.rs
Normal file
5
src/huffman.rs
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
pub struct HuffmanAlphabet {
|
||||||
|
pub length: u32,
|
||||||
|
pub frequencies: Vec<u32>,
|
||||||
|
}
|
||||||
@@ -129,6 +129,6 @@ fn main() {
|
|||||||
// c2a3();
|
// c2a3();
|
||||||
// c2a4();
|
// c2a4();
|
||||||
// c3a1();
|
// c3a1();
|
||||||
c3a2();
|
// c3a2();
|
||||||
c3a3();
|
c3a3();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user