Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fingers
2.2.2
Top Level Namespace
Fingers
ActionRunner
Cli
Commands
Base
LoadConfig
PanePrinter
SendInput
Start
Version
Config
Dirs
Formatter
Hinter
InputSocket
MainCommand
MatchFormatter
Printer
State
Target
View
Huffman
HuffmanNode
PriorityQueue
Tmux
Pane
Shell
Window
TmuxStylePrinter
InvalidFormat
Shell
ShellExec
Generated using Crystal 1.12.2
2024-08-15 07:59:54 UTC
class
Huffman
Huffman
Reference
Object
Defined in:
huffman.cr
Constructors
.new
Instance Method Summary
#alphabet
: Array(String)
#generate_hints
(alphabet : Array(String), n : Int32)
#n
: Int32
#queue
: PriorityQueue(HuffmanNode)
#translate_path
(path)
Constructor Detail
def self.
new
#
[
View source
]
Instance Method Detail
def
alphabet
: Array(String)
#
[
View source
]
def
generate_hints
(alphabet : Array(String), n : Int32)
#
[
View source
]
def
n
: Int32
#
[
View source
]
def
queue
:
PriorityQueue
(
HuffmanNode
)
#
[
View source
]
def
translate_path
(path)
#
[
View source
]