|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LocalSimilarityFunction
Defines the methods of a local similarity function. A local similarity function is applied to simple attributes by the NN algorithm.
Method Summary | |
---|---|
double |
compute(java.lang.Object caseObject,
java.lang.Object queryObject)
Computes the similarity between two objects |
boolean |
isApplicable(java.lang.Object caseObject,
java.lang.Object queryObject)
Indicates if the function is applicable to two objects |
Method Detail |
---|
double compute(java.lang.Object caseObject, java.lang.Object queryObject) throws NoApplicableSimilarityFunctionException
caseObject
- object of the casequeryObject
- object of the query
NoApplicableSimilarityFunctionException
boolean isApplicable(java.lang.Object caseObject, java.lang.Object queryObject)
|
GAIA - Group for Artificial Intelligence Applications http://gaia.fdi.ucm.es |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |