Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fingers
2.3.1
Top Level Namespace
Fingers
ActionRunner
Cli
Commands
Base
Info
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.14.0
2024-12-10 12:20:27 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
]