struct Huffman::Node

Defined in:

huffman.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(parent : Int32 = -1, left : Int32 = -1, right : Int32 = -1, count : Int64 = Int64::MAX, binary : Bool = false) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat) #

[View source]

Instance Method Detail

def binary : Bool #

[View source]
def binary=(binary : Bool) #

[View source]
def count : Int64 #

[View source]
def count=(count : Int64) #

[View source]
def leaf? #

[View source]
def left : Int32 #

[View source]
def left=(left : Int32) #

[View source]
def parent : Int32 #

[View source]
def parent=(parent : Int32) #

[View source]
def right : Int32 #

[View source]
def right=(right : Int32) #

[View source]
def to_io(io : IO, format : IO::ByteFormat) #

[View source]