I´m currently implementing NEAT. What should I do when in a mutation the same Innovation occurs which has already happened to that genome?
Should I simply ignore it?
If not what do I do with it in the mating part?
Artificial Intelligence Stack Exchange is a question and answer site for people interested in conceptual questions about life and challenges in a world where "cognitive" functions can be mimicked in purely digital environment. It only takes a minute to sign up.
Sign up to join this communityI´m currently implementing NEAT. What should I do when in a mutation the same Innovation occurs which has already happened to that genome?
Should I simply ignore it?
If not what do I do with it in the mating part?
Because this is more of an answer than a comment:
In the add connection mutation, a single new connection gene with a random weight is added connecting two previously unconnected nodes.
So two nodes that have been mutated with a connection, can't remutate because the nodes should be unconnected.
In the add node mutation, an existing connection is split and the new node placed where the old connection used to be. The old connection is disabled and two new connections are added to the genome.
The old connection is disabled, so the same mutation can't occur again on this connection. In practice, you can just remove the disabled connection, because it will be formed again with the add connection mutation.