# In the NEAT algorithm, what is the purpose of treating disjoint and excess genes differently?

In the NEAT algorithm, what is the purpose of treating disjoint and excess genes differently?

They are treated so (or may be treated potentially) at least when calculating the distance between 2 individuals when dividing the population into species (c1 and c2 coefficients).

• Look. Let our 2 genomes are g1=[1, 2, 3, 4, 6] and g2=[1, 2, 5, 7, 8] (here numbers are innovation numbers). Then if g1 is the first parent, then disjoint gene is 5 and excess genes are 7,8. If g2 is the first one, then 3,4,6 are all the disjoint genes and there are no excess genes. So distances become different: d(g1, g2) ≠ d(g2, g1) because c1*1+c2*2+c3*W ≠c1*3+c2*0+c3*W. Do I understand something wrong? Aug 16 at 19:34