neuroevolution-ai / NeuroEvolution-CTRNN_new

MIT License
3 stars 3 forks source link

refactor brain class initialization #54

Closed bjuergens closed 3 years ago

bjuergens commented 3 years ago

this block is very ugly.

I think it can be refactored similarly how we refactored the initialisation of the config-objects in #20.

See this commit for basic idea: https://github.com/neuroevolution-ai/NeuroEvolution-CTRNN_new/pull/41/commits/aefe2c201754a9e33a5c251e65171077471f6f12

See this PR for final version: https://github.com/neuroevolution-ai/NeuroEvolution-CTRNN_new/pull/41/files

bjuergens commented 3 years ago

for this it will be much much simpler than for the configs, because no recursion is needed.

todo:

pdeubel commented 3 years ago

This can be closed as its solved with #55 right?