com.wcohen.ss
Class CombinedStringDistanceLearner.MyDistanceInstance
java.lang.Object
com.wcohen.ss.CombinedStringDistanceLearner.MyDistanceInstance
- All Implemented Interfaces:
- DistanceInstance
- Direct Known Subclasses:
- CombinedStringDistanceLearner.MyMultiDistanceInstance
- Enclosing class:
- CombinedStringDistanceLearner
protected class CombinedStringDistanceLearner.MyDistanceInstance
- extends java.lang.Object
- implements DistanceInstance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
a
protected StringWrapper a
b
protected StringWrapper b
correct
protected boolean correct
distance
protected double distance
CombinedStringDistanceLearner.MyDistanceInstance
public CombinedStringDistanceLearner.MyDistanceInstance(StringWrapper a,
StringWrapper b,
boolean correct,
double distance)
getA
public StringWrapper getA()
- Specified by:
getA
in interface DistanceInstance
getB
public StringWrapper getB()
- Specified by:
getB
in interface DistanceInstance
isCorrect
public boolean isCorrect()
- Specified by:
isCorrect
in interface DistanceInstance
getDistance
public double getDistance()
- Specified by:
getDistance
in interface DistanceInstance
setDistance
public void setDistance(double distance)
- Specified by:
setDistance
in interface DistanceInstance