seallard / walker

NEAT
MIT License
0 stars 0 forks source link

Keys in innovation trackers dict are None #23

Closed seallard closed 4 years ago

seallard commented 4 years ago

Tracked innovations stored with keys (in_node_id, out_node_id, gene_type) are sometimes (None, None, gene_type) etc.

seallard commented 4 years ago

The attributes of the Innovation class were stale. The get_key method has to retrieve the innovation numbers directly from the in and out nodes. Precondition: node genes have to be tracked before link genes that use them are tracked.