Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

joelib.desc
Interface DistanceMetricValue  view DistanceMetricValue download DistanceMetricValue.java


public interface DistanceMetricValue

Interface to have a fast method to getting similarity metric values. The target object must be checked. All used metrics must implement the joelib.math.similarity.DistanceMetric class.


Method Summary
 double getDistance(java.lang.Object target)
           
 void loadDefaultMetric()
           
 void loadMetric(java.lang.String represenation)
           
 

Method Detail

getDistance

public double getDistance(java.lang.Object target)

loadDefaultMetric

public void loadDefaultMetric()
                       throws DescriptorException

loadMetric

public void loadMetric(java.lang.String represenation)
                throws DescriptorException