Suppose we have two human bodies. We need to find some number that represents a similarity score between the two bodies. However in order to achieve that we need to find the similarity between the corresponding body parts. Suppose we already have a function that returns a similarity score for body parts.
double armSimilarity = compare(person1.arm, person2.arm);
So we end up with a vector that has similarity scores each representing similarity between a certain body part.
Given that the score is 0 when they are identical and goes up in value the more they differ from each other; how could we reduce that vector into a single number that we can use to determine the similarity between the two bodies as a whole?
Is taking the average a good idea?