neuroevolution-ai / NeuroEvolution-CTRNN_new

MIT License
3 stars 3 forks source link

refactor config location and documentation #72

Open bjuergens opened 3 years ago

bjuergens commented 3 years ago

We want to move the definition of the config classes closer to the class that will use these configs.

To achieve this we simply get rid of configuration.py and move the classes into the files, where the classes are defined that use them. From a software-design perspective this is no problem (in fact is even benefitial as it increases the cohesion between the classes and their config-classes).

But from a user-perspective this is very bad, because it becomes virtually impossible for someone writing a config json to get an overview about which configurations are available.

But since all configurations are registered (with the @register decorator) this is no problem: We can create a helper script for the user, which lists all available configurations.

Todo:

optional follow up issue: