compression.huffman.private vocabulary
Factor handbook ยป Vocabulary index


Summary

Metadata
Parents:compression.huffman


Words

Tuple classes
ClassSuperclassSlots
huffman-code tuplevalue size code
huffman-tree tuplecode left right


Symbol words
leaf-table
node-heap


Ordinary words
WordStack effect
(canonize-codes)( current codes -- codes )
(generate-codes)( huff-tree -- code-dict )
<==>( b1 b2 -- <=> )
<huffman-code>( -- huffman-code )
<huffman-internal>( left right -- huffman-tree )
<huffman-tree>( code left right -- huffman-tree )
all-patterns( huffman-code n -- seq )
build-leaf-table( leaves -- )
build-tree( lit-seq -- heap )
canonize-codes( codes -- codes )
combine-two( -- )
gen-leaves( lit-seq -- leaves )
generate-codes( lit-seq -- code-dict )
get-next-code( code current -- next )
huffman-each( ... tdesc quot: ( ... huffman-code -- ... ) -- ... )
insert-leaves( -- )
leaf?( huff-tree -- ? )
length-limit-codes( max-len old-codes -- new-codes )
next-code( huffman-code -- )
next-size( huffman-code -- )
reverse-table( tdesc n -- rtable )
sort-values!( obj -- sortedseq )
update-reverse-table( huffman-code n table -- )


Class predicate words
WordStack effect
huffman-code?( object -- ? )
huffman-tree?( object -- ? )


Files