CodeReclaimers / neat-python

Python implementation of the NEAT neuroevolution algorithm
BSD 3-Clause "New" or "Revised" License
1.41k stars 490 forks source link

Adding an argument to the config object #226

Closed gabriele-0201 closed 2 years ago

gabriele-0201 commented 2 years ago

When you call the function run of the Pupolation object you're not allowed to pass more than two arguments to the fitness_function but one of the two arguments is the Config object where I added a simple variable to make possible the passing of at least one number, for example, the ID of a player using the AI

CodeReclaimers commented 2 years ago

Thanks for the pull request!