com.github.TKnudsen.ComplexDataObject.model.distanceMeasure.IDistanceMeasure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of complex-data-object Show documentation
Show all versions of complex-data-object Show documentation
A library that models real-world objects in Java, referred to as ComplexDataObjects. Other features: IO and preprocessing of ComplexDataObjects.
package com.github.TKnudsen.ComplexDataObject.model.distanceMeasure;
import java.io.Serializable;
import com.github.TKnudsen.ComplexDataObject.data.interfaces.IDObject;
import com.github.TKnudsen.ComplexDataObject.data.interfaces.ISelfDescription;
/**
*
* Title: IDistanceMeasure
*
*
*
* Description: Generic interface for all data object distance measures.
* Similarity is rather complex, so defining an abstract concept is quite
* challenging.
*
*
*
* Copyright: Copyright (c) 2013-2016
*
*
* @author Juergen Bernard
* @version 1.01
*/
public interface IDistanceMeasure extends Serializable, ISelfDescription {
public abstract String toString();
public double getDistance(T o1, T o2);
}