peter-ch / MultiNEAT

Portable NeuroEvolution Library
http://MultiNEAT.com
GNU Lesser General Public License v3.0
328 stars 104 forks source link

Documentation call for genome lacks parameter #58

Open regtm opened 4 years ago

regtm commented 4 years ago

Hi, when following the documentation/tutorial creating the genome fails, as the call in the documentation seems to lack a parameter (likely int a_FS_NEAT_links). I'd guess this is the numbers of links between neurons? Maybe you could update the tutorial.

genome = NEAT.Genome(0, 3, 0, 2, False, NEAT.ActivationFunction.UNSIGNED_SIGMOID, NEAT.ActivationFunction.UNSIGNED_SIGMOID, 0, params, 0)
     Genome.__init__(Genome, int, int, int, int, bool, ActivationFunction, ActivationFunction, int, Parameters, int)
 did not match C++ signature:
     __init__(_object*, unsigned int, unsigned int, unsigned int, unsigned int, bool, NEAT::ActivationFunction, NEAT::ActivationFunction, int, NEAT::Parameters, unsigned int, unsigned int)