Closed seallard closed 3 years ago
Both of the input links have been disconnected somehow.
The bug is not present if crossover is disabled, so it probably has to do with the crossover code.
The network does not have any links! Does the genome which the network was created from contain any links?
Yes, the genome does have two links but none of them are enabled. How does this happen?
If the links have matching id:s they are randomly chosen from either parent. If one disabled version of each original link is present in the parents and the more fit parent does not have any other genes, the offspring might end up without active links.
After ca 20 000 evaluations (in total over multiple genomes and generations), the program is stuck in the while-loop of network.activation.