Open eugenioLR opened 7 months ago
Already implemented, but OperatorMeta and OperatorAdaptative have to be changed, they don't functions the same as in previous versions.
It could be interesting to also vectorize all operator functions since we know we are working with numpy vectors.
A Population class should be added to make vectorized operations more efficiently and avoid converting from lists to arrays all the time.
Things to change:
It would make a lot more sense if Operators were applied to a list of Individuals, making it so they return a list of modified individuals. This would help reduce some complexity in search strategies since they wouldn't need to implement a loop.
To address the difference between applying the operators to each individual one by one and picking randomly, this would become responsibility of the parent selection method, that should either return the population in its current order or pick individuals at random.