com.wcohen.ss.api
Interface DistanceInstance
- All Known Implementing Classes:
- Blocker.Pair, CombinedStringDistanceLearner.MyDistanceInstance, CombinedStringDistanceLearner.MyMultiDistanceInstance
public interface DistanceInstance
An 'instance' for a StringDistance, analogous to an 'instance' for
a classification learner. Consists of a pair of StringWrappers,
a distance, and some labeling information.
INCREASING_DISTANCE
static final java.util.Comparator<DistanceInstance> INCREASING_DISTANCE
getA
StringWrapper getA()
getB
StringWrapper getB()
isCorrect
boolean isCorrect()
getDistance
double getDistance()
setDistance
void setDistance(double distance)