com.wcohen.ss
Class CombinedStringDistanceLearner.MyMultiDistanceInstance

java.lang.Object
  extended by com.wcohen.ss.CombinedStringDistanceLearner.MyDistanceInstance
      extended by com.wcohen.ss.CombinedStringDistanceLearner.MyMultiDistanceInstance
All Implemented Interfaces:
DistanceInstance
Enclosing class:
CombinedStringDistanceLearner

protected class CombinedStringDistanceLearner.MyMultiDistanceInstance
extends CombinedStringDistanceLearner.MyDistanceInstance


Field Summary
 
Fields inherited from class com.wcohen.ss.CombinedStringDistanceLearner.MyDistanceInstance
a, b, correct, distance
 
Fields inherited from interface com.wcohen.ss.api.DistanceInstance
INCREASING_DISTANCE
 
Constructor Summary
CombinedStringDistanceLearner.MyMultiDistanceInstance(StringWrapper a, StringWrapper b, boolean correct, double distance)
           
 
Method Summary
 DistanceInstance get(int j)
           
 StringWrapper getA(int j)
           
 StringWrapper getB(int j)
           
 java.lang.String toString()
           
 
Methods inherited from class com.wcohen.ss.CombinedStringDistanceLearner.MyDistanceInstance
getA, getB, getDistance, isCorrect, setDistance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CombinedStringDistanceLearner.MyMultiDistanceInstance

public CombinedStringDistanceLearner.MyMultiDistanceInstance(StringWrapper a,
                                                             StringWrapper b,
                                                             boolean correct,
                                                             double distance)
Method Detail

getA

public StringWrapper getA(int j)

getB

public StringWrapper getB(int j)

get

public DistanceInstance get(int j)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object