|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcolibri.method.retrieve.NNretrieval.similarity.StandardGlobalSimilarityFunction
jcolibri.method.retrieve.NNretrieval.similarity.global.Average
public class Average
This function computes the average of the similarites of its subattributes.
Constructor Summary | |
---|---|
Average()
|
Method Summary | |
---|---|
double |
computeSimilarity(double[] values,
double[] weigths,
int ivalue)
Hook method that must be implemented by subclasses returned the global similarity value. |
Methods inherited from class jcolibri.method.retrieve.NNretrieval.similarity.StandardGlobalSimilarityFunction |
---|
compute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Average()
Method Detail |
---|
public double computeSimilarity(double[] values, double[] weigths, int ivalue)
StandardGlobalSimilarityFunction
computeSimilarity
in class StandardGlobalSimilarityFunction
values
- of the similarity of the sub-attributesweigths
- of the sub-attributesivalue
- (or sub-attributes) that were obtained (some subattributes may not compute for the similarity).
|
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 |