Some sources (linked below) say that mutation can add a new node or subtract a node or add a connection between two existing nodes. But if we do that doesn't it change the number of genes throughout the population.
Let's say there are 2 creatures and one of them mutates and adds a connection between 2 existing nodes this creature now has more genes than the other one right?
So how is it possible for us to make crossover between the two?
Or does adding the connection between the nodes mean there was already a connection between the two but the weight of that connection was 0 so it didn't have any effect and mutation changed it enabling it to have some sort of effect?
This has been in the back of my mind for quite a bit of time now.
Any help is appreciated.
Thanks
https://towardsdatascience.com/neat-an-awesome-approach-to-neuroevolution-3eca5cc7930f