huffmanTree

package
v1.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HFMNode

type HFMNode struct {
	// contains filtered or unexported fields
}

type HFMTree

type HFMTree struct {
	// contains filtered or unexported fields
}

func NewHFMTree

func NewHFMTree(str string) (tree *HFMTree)

func NewHFMTreeWithWright

func NewHFMTreeWithWright(weight map[rune]int, rs []rune) (tree *HFMTree)

func (*HFMTree) ReCode

func (t *HFMTree) ReCode(str string) (ret string)

func (*HFMTree) ToCode

func (t *HFMTree) ToCode(str string) (ret string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL