Toggle Sidebar
Toggle Theme
huffman
v1.2.0
Pages
Modules
huffman v1.2.0
Huffman.Tree.Node
View Source
Sets the key for a given node
iex> Huffman.Tree.Node.set_key( …> %Node{key: “1”}, “2”).key 2
Link to this section
Summary
Functions
combine(node, node)
new(weight, key \\ nil)
set_key(node, key)
Link to this section
Functions
Link to this function
combine(node, node)
View Source
Link to this function
new(weight, key \\ nil)
View Source
Link to this function
set_key(node, key)
View Source