public class NeedlemanWunsch extends AbstractStringDistance
| Constructor and Description |
|---|
NeedlemanWunsch() |
NeedlemanWunsch(CharMatchScore charMatchScore,
double gapCost) |
| 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 NeedlemanWunsch()
public NeedlemanWunsch(CharMatchScore charMatchScore, double gapCost)
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.