public abstract class MatchScoreType
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static MatchScoreType |
CORRELATION
Correlation scores can be both positive and negative values.
|
static MatchScoreType |
NORM_ERROR
These error metrics have values greater than or equal to zero.
|
| Constructor and Description |
|---|
MatchScoreType() |
| Modifier and Type | Method and Description |
|---|---|
abstract int |
compareTo(double scoreA,
double scoreB)
Used to test to see which score is better than another score.
|
abstract boolean |
isZeroBest()
True if the best possible score has a value of zero
|
public static MatchScoreType CORRELATION
public static MatchScoreType NORM_ERROR
public abstract boolean isZeroBest()
public abstract int compareTo(double scoreA,
double scoreB)
Used to test to see which score is better than another score.
1 if scoreA better than scoreB
0 if scoreA == scoreB
-1 if scoreA worse than scoreB
scoreA - match scorescoreB - match score