com.wcohen.ss
Class Levenstein

java.lang.Object
  extended by com.wcohen.ss.AbstractStringDistance
      extended by com.wcohen.ss.NeedlemanWunsch
          extended by com.wcohen.ss.Levenstein
All Implemented Interfaces:
StringDistance, StringDistanceLearner
Direct Known Subclasses:
ScaledLevenstein

public class Levenstein
extends NeedlemanWunsch

Levenstein string distance. Levenstein distance is basically NeedlemanWunsch with unit costs for all operations.


Constructor Summary
Levenstein()
           
 
Method Summary
static void main(java.lang.String[] argv)
           
 java.lang.String toString()
           
 
Methods inherited from class com.wcohen.ss.NeedlemanWunsch
explainScore, score
 
Methods inherited from class com.wcohen.ss.AbstractStringDistance
addExample, doMain, explainScore, getDistance, hasNextQuery, nextQuery, prepare, prepare, prepare, score, setDistanceInstancePool, setStringWrapperPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Levenstein

public Levenstein()
Method Detail

toString

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

main

public static void main(java.lang.String[] argv)