MCPcopy Index your code
hub / github.com/TheAlgorithms/Rust / get_alphabet

Method get_alphabet

src/general/huffman_encoding.rs:45–71  ·  view source on GitHub ↗

Turn the tree into the map that can be used in encoding

(
        height: u32,
        path: u64,
        node: &HuffmanNode<T>,
        map: &mut BTreeMap<T, HuffmanValue>,
    )

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected