Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
fingers
2.1.3
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-02-01 04:28:53 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
]