cost_function

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffineGapCost

type AffineGapCost interface {
	Cost(s string, startGap, endGap int) float64
}

type SubCost01

type SubCost01 struct{}

func (*SubCost01) Cost

func (f *SubCost01) Cost(s1 string, i1 int, s2 string, i2 int) float64

type SubCost1Minus2

type SubCost1Minus2 struct{}

func (*SubCost1Minus2) Cost

func (f *SubCost1Minus2) Cost(s1 string, i1 int, s2 string, i2 int) float64

type SubCost5_3Minus3

type SubCost5_3Minus3 struct{}

func (*SubCost5_3Minus3) Cost

func (f *SubCost5_3Minus3) Cost(s1 string, i1 int, s2 string, i2 int) float64

type SubstitutionCost

type SubstitutionCost interface {
	Cost(s1 string, i1 int, s2 string, i2 int) float64
}

Jump to

Keyboard shortcuts

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