@@ -29,8 +29,54 @@ An example fitness function shell script can be shown [here](https://git.opendfk
### Programmatic use
TODO: implement a 'Runner'-Class
You can use GenIe as java library to optimize parameters programmatically. For this, you have the possibility to start the optimization with a method call. Per default, the settings inside the specified config file are used, even including the exec cost function call. Further, you can also set the cost function and adjust the config file settings by code.
**Start optimization, settings+fitness function exec call from config file:**
During the genetic call so called ['gods'](https://git.opendfki.de/reuschling/genie/-/blob/main/src/main/java/de/dfki/sds/genie/genetic/GeneticParamOptimizerGod.java) are proofing generated vector candidates and whole populations, being able to have the last word. Gods are able to modify candidate vectors before they will be evaluated, e.g. for validation or normalization purposes. Subclass from [GeneticParamOptimizerGod](https://git.opendfki.de/reuschling/genie/-/blob/main/src/main/java/de/dfki/sds/genie/genetic/GeneticParamOptimizerGod.java) and overwrite the methods you need.