public class MongeElkan extends AffineGap
AffineGap.MatrixTrio| Constructor and Description |
|---|
MongeElkan() |
| Modifier and Type | Method and Description |
|---|---|
String |
explainScore(StringWrapper s,
StringWrapper t)
Version where distance which is possibly scaled to [0,1].
|
static void |
main(String[] argv) |
double |
score(StringWrapper s,
StringWrapper t)
Version of distance which is possibly scaled to [0,1].
|
void |
setScaling(boolean flag)
If scaling is true, then distances are scaled to 0-1
|
void |
setScaling(Double flag)
For interfacing with reflection in MatchExptScript.
|
String |
toString() |
addExample, doMain, explainScore, getDistance, hasNextQuery, nextQuery, prepare, prepare, prepare, score, setDistanceInstancePool, setStringWrapperPoolpublic void setScaling(boolean flag)
public void setScaling(Double flag)
public double score(StringWrapper s, StringWrapper t)
score in interface StringDistancescore in class AffineGappublic String explainScore(StringWrapper s, StringWrapper t)
explainScore in interface StringDistanceexplainScore in class AffineGappublic static void main(String[] argv)
Copyright © 2016. All rights reserved.