edu.indiana.iucbrf.feature.differentiator
Class TermVectorFeatureDifferentiator

java.lang.Object
  extended by edu.indiana.iucbrf.feature.differentiator.AbstractFeatureDifferentiator
      extended by edu.indiana.iucbrf.feature.differentiator.TermVectorFeatureDifferentiator
All Implemented Interfaces:
FeatureDifferentiator, Differentiator, java.io.Serializable
Direct Known Subclasses:
TextTermVectorPairFeatureDifferentiator

public class TermVectorFeatureDifferentiator
extends AbstractFeatureDifferentiator

See Also:
Serialized Form

Field Summary
 
Fields inherited from class edu.indiana.iucbrf.feature.differentiator.AbstractFeatureDifferentiator
normalizationValue
 
Constructor Summary
TermVectorFeatureDifferentiator()
          Creates a new instance of TermVectorFeatureDifferentiator
TermVectorFeatureDifferentiator(double normalizationValue)
           
 
Method Summary
protected  double calcDifferenceImpl(Feature f1, Feature f2)
           
 
Methods inherited from class edu.indiana.iucbrf.feature.differentiator.AbstractFeatureDifferentiator
calcDifference, calcDifference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TermVectorFeatureDifferentiator

public TermVectorFeatureDifferentiator()
Creates a new instance of TermVectorFeatureDifferentiator


TermVectorFeatureDifferentiator

public TermVectorFeatureDifferentiator(double normalizationValue)
Method Detail

calcDifferenceImpl

protected double calcDifferenceImpl(Feature f1,
                                    Feature f2)
Specified by:
calcDifferenceImpl in class AbstractFeatureDifferentiator