public class AffineGap extends AbstractStringDistance
| Modifier and Type | Class and Description |
|---|---|
protected class |
AffineGap.MatrixTrio |
| Constructor and Description |
|---|
AffineGap() |
AffineGap(CharMatchScore charMatchScore,
double openGapScore,
double extendGapScore,
double lowerBound) |
| Modifier and Type | Method and Description |
|---|---|
String |
explainScore(StringWrapper s,
StringWrapper t)
This method needs to be implemented by subclasses.
|
static void |
main(String[] argv) |
double |
score(StringWrapper s,
StringWrapper t)
This method needs to be implemented by subclasses.
|
addExample, doMain, explainScore, getDistance, hasNextQuery, nextQuery, prepare, prepare, prepare, score, setDistanceInstancePool, setStringWrapperPoolpublic AffineGap()
public AffineGap(CharMatchScore charMatchScore, double openGapScore, double extendGapScore, double lowerBound)
public double score(StringWrapper s, StringWrapper t)
AbstractStringDistancescore in interface StringDistancescore in class AbstractStringDistancepublic String explainScore(StringWrapper s, StringWrapper t)
AbstractStringDistanceexplainScore in interface StringDistanceexplainScore in class AbstractStringDistancepublic static void main(String[] argv)
Copyright © 2016. All rights reserved.