alignment

package
v0.0.0-...-4aa8193 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Benchmark

func Benchmark(b *testing.B)

Types

type Gotoh

type Gotoh struct {
	Constants
	// contains filtered or unexported fields
}

func NewGotoh

func NewGotoh(y string, x string, settings Constants) *Gotoh

func (*Gotoh) Length

func (l *Gotoh) Length()

func (Gotoh) Print

func (l Gotoh) Print(i int, j int) (string, string, string)

func (Gotoh) Print_iter

func (l Gotoh) Print_iter(i int, j int, arg int) (string, string, string)

func (Gotoh) Score

func (l Gotoh) Score() int

func (Gotoh) ScoreArgs

func (l Gotoh) ScoreArgs(x int, y int) (int, int)

func (Gotoh) Strlen

func (l Gotoh) Strlen() (int, int)

func (Gotoh) Substitution

func (l Gotoh) Substitution(x int, y int) int

type LCS

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

func NewLCS

func NewLCS(y string, x string) *LCS

func (LCS) Length

func (l LCS) Length()

func (LCS) Print

func (l LCS) Print(i int, j int) (string, string, string)

func (LCS) Score

func (l LCS) Score() int

func (LCS) Strlen

func (l LCS) Strlen() (int, int)

type LGotoh

type LGotoh struct {
	Constants
	// contains filtered or unexported fields
}

func NewLGotoh

func NewLGotoh(y string, x string, settings Constants) *LGotoh

func (*LGotoh) Length

func (l *LGotoh) Length()

func (LGotoh) Print

func (l LGotoh) Print(i int, j int) (string, string, string)

func (LGotoh) Print_iter

func (l LGotoh) Print_iter(i int, j int, arg int) (string, string, string)

func (LGotoh) Score

func (l LGotoh) Score() int

func (LGotoh) ScoreArgs

func (l LGotoh) ScoreArgs(x int, y int) (int, int)

func (LGotoh) Strlen

func (l LGotoh) Strlen() (int, int)

func (LGotoh) Substitution

func (l LGotoh) Substitution(x int, y int) int

type MEA

type MEA struct {
	Constants
	// contains filtered or unexported fields
}

func NewMEA

func NewMEA(y string, x string, matrix Constants) *MEA

func (MEA) Length

func (l MEA) Length()

func (MEA) Print

func (l MEA) Print(i int, j int) (string, string, string)

func (MEA) Score

func (l MEA) Score() int

func (MEA) Strlen

func (l MEA) Strlen() (int, int)

type NW

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

func NewNW

func NewNW(y string, x string) *NW

func (NW) Length

func (l NW) Length()

func (NW) Print

func (l NW) Print(i int, j int) (string, string, string)

func (NW) Score

func (l NW) Score() int

func (NW) Strlen

func (l NW) Strlen() (int, int)

type Rgotoh

type Rgotoh struct {
	Constants
	// contains filtered or unexported fields
}

func NewRGotoh

func NewRGotoh(y string, x string, settings Constants) *Rgotoh

func (*Rgotoh) Length

func (l *Rgotoh) Length()

func (Rgotoh) LinearBinaryAlign

func (l Rgotoh) LinearBinaryAlign(i1 int, i2 int, j1 int, j2 int, score int) (p string, q string, r string)

func (Rgotoh) LinearSpace

func (l Rgotoh) LinearSpace(i0 int, j0 int, i int, j int, score int) (p string, q string, r string)

func (Rgotoh) Print

func (l Rgotoh) Print(i int, j int) (string, string, string)

func (*Rgotoh) RegionAlign

func (l *Rgotoh) RegionAlign(i1 int, i2 int, j1 int, j2 int, order bool) (int, int, int)

func (Rgotoh) Score

func (l Rgotoh) Score() int

func (Rgotoh) ScoreArgs

func (l Rgotoh) ScoreArgs(x int) (e int, k int)

func (Rgotoh) Strlen

func (l Rgotoh) Strlen() (int, int)

func (Rgotoh) Substitution

func (l Rgotoh) Substitution(x int, y int) int

type SW

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

func NewSW

func NewSW(y string, x string) *SW

func (*SW) Length

func (l *SW) Length()

func (SW) Print

func (l SW) Print(i int, j int) (string, string, string)

func (SW) Score

func (l SW) Score() int

func (SW) Strlen

func (l SW) Strlen() (int, int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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