i'm writing a genetic algorithm that uses fitness sharing in tournament selection. in all the relevant literature that i found (Sareni for example) it is mentioned that the solution's own fitness (Fi) should be divided by the sum of its niche distances (Mi).
What I don't understand is, as we are optimizing multiple objectives each solution has more than one fitness. what is then its 'fitness' Fi? should I see it as the multiplication of all its fitness's ?
for example, in the code i'm writing (processing):
float sharedFitnessA = (a.f2*a.f3) / nicheCountA;
thanks
n