protected class CombinedStringDistanceLearner.MyDistanceInstance extends Object implements DistanceInstance
| Modifier and Type | Field and Description |
|---|---|
protected StringWrapper |
a |
protected StringWrapper |
b |
protected boolean |
correct |
protected double |
distance |
INCREASING_DISTANCE| Constructor and Description |
|---|
MyDistanceInstance(StringWrapper a,
StringWrapper b,
boolean correct,
double distance) |
| Modifier and Type | Method and Description |
|---|---|
StringWrapper |
getA() |
StringWrapper |
getB() |
double |
getDistance() |
boolean |
isCorrect() |
void |
setDistance(double distance) |
protected StringWrapper a
protected StringWrapper b
protected boolean correct
protected double distance
public MyDistanceInstance(StringWrapper a, StringWrapper b, boolean correct, double distance)
public StringWrapper getA()
getA in interface DistanceInstancepublic StringWrapper getB()
getB in interface DistanceInstancepublic boolean isCorrect()
isCorrect in interface DistanceInstancepublic double getDistance()
getDistance in interface DistanceInstancepublic void setDistance(double distance)
setDistance in interface DistanceInstanceCopyright © 2016. All rights reserved.