Created UnitOptimizer class, small refactoring
UnitOptimizer
Implemented all parts of the Genetic Algorithm. It compiles at least
TODO: Testing, Debugging, Interfaces
UnitOptimizer: Bugfix
Bugfixes
UnitOptimizer
Fixed nasty bug: implicit copy constructor of MicroSimulation was
called, so no Units could be initialized as the filePaths were missing
Now it seems to run so far, but too damn slow. Parallelization or making
the evaluation simpler seem to be the only options
UnitOptimizer
Did some basic parallelization ( more will be difficult) and decreased the number of units per simulation. Unfortunately does it still take too long to run the whole algorithm, at least at my machine.
Just path adaption
Bugfix
UnitGenes: Changed crossover implementation as the old one was uneffective
UnitGenes: Changed crossover implementation as the old one was uneffective
UnitGenes: Changed crossover implementation as the old one was uneffective
Bugfix
UnitOptimizer: Tried to improve crossover
Added seed to speed up the optimization
UnitOptimizer: Parameter fine tuning, UnitGenes: Added initializer_list constructor, main: added more seeds for the marine optimization
UnitOptimizer::optimize: Now stops the optimization if the population is too small
Removed unnessesary includes
Fixed wrong name in main
Bugfix
Bugfix