public class Average extends StandardGlobalSimilarityFunction
| Constructor and Description |
|---|
Average() |
| Modifier and Type | Method and Description |
|---|---|
double |
computeSimilarity(double[] values,
double[] weigths,
int ivalue)
Hook method that must be implemented by subclasses returned the global similarity value.
|
computepublic Average()
public double computeSimilarity(double[] values, double[] weigths, int ivalue)
StandardGlobalSimilarityFunctioncomputeSimilarity in class StandardGlobalSimilarityFunctionvalues - 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).Copyright © 2018 Group of Artificial Intelligence Applications (GAIA). All rights reserved.