seallard / walker

NEAT
MIT License
0 stars 0 forks source link

Superfluous recurrent node attribute #31

Closed seallard closed 3 years ago

seallard commented 3 years ago

It is not necessary to mark nodes as recurrent or not. A duplicate link check can be made to disallow multiple self loops. Removing the recurrent attribute means the depth attribute can be removed as well. This would solve the problem described in #29.

seallard commented 3 years ago

The node depth is useful when explicitly adding a recurrent link. So if I want to be able to control the rate at which recurrent links are added, the depth attribute is required.