Class EditDistanceViaMinimumDetour
java.lang.Object
|
+--EditDistanceViaMinimumDetour
- public class EditDistanceViaMinimumDetour
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
fromString
protected CharacterTable fromString
toString
protected CharacterTable[] toString
detours
protected EditDistanceGraphStateStack[] detours
minimumDistance
protected int minimumDistance
calculated
protected boolean calculated
closestStringIndex
protected int closestStringIndex
TESTING
protected static boolean TESTING
EditDistanceViaMinimumDetour
public EditDistanceViaMinimumDetour(java.lang.String from,
java.lang.String[] to)
closestString
public java.lang.String closestString()
calculate
protected void calculate()
detourFor
public int detourFor(EditDistanceGraphState start,
EditDistanceGraphState end)
costFor
public int costFor(EditDistanceGraphState start,
EditDistanceGraphState end)
lowerBoundFor
public int lowerBoundFor(EditDistanceGraphState state)
lowerBoundFor
public static int lowerBoundFor(CharacterCountTable tableOne,
CharacterCountTable tableTwo)