Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fingers
2.1.5
Top Level Namespace
Fingers
ActionRunner
Cli
Commands
Base
LoadConfig
PanePrinter
SendInput
Start
Version
Config
Dirs
Formatter
Hinter
InputSocket
MatchFormatter
Printer
State
Target
View
Huffman
HuffmanNode
PriorityQueue
Tmux
Pane
Shell
Window
TmuxStylePrinter
InvalidFormat
Shell
ShellExec
Generated using Crystal 1.10.1
2024-05-03 07:47:24 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
]