Closed bjuergens closed 3 years ago
for this it will be much much simpler than for the configs, because no recursion is needed.
todo:
registered_brain_types
self.brain_class = registered_brain_types[self.config.brain.type]
This can be closed as its solved with #55 right?
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