bwtgolang

package
v0.0.0-...-f7cf509 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CheckEndSymbol = false

CheckEndSymbol is a global variable for checking end symbol before Burrows–Wheeler transform

View Source
var ErrEndSymbolExisted = errors.New("bwt: end-symbol existed in string")

ErrEndSymbolExisted means you should choose another EndSymbol

View Source
var ErrInvalidSuffixArray = errors.New("bwt: invalid suffix array")

Functions

func FromSuffixArray

func FromSuffixArray(s []byte, sa []int) []byte

FromSuffixArray compute BWT from sa

func NaiveBWT

func NaiveBWT(data []byte) []byte

func SuffixArray

func SuffixArray(s []byte) []int

func SuffixArrayBWT

func SuffixArrayBWT(s []byte) []byte

func SuffixTreeBWT

func SuffixTreeBWT(s []byte) []byte

func Transform

func Transform(s []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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