ericmedvet / jgea

Apache License 2.0
18 stars 11 forks source link

`UniformCrossover` without the need for a factory of lists #29

Closed ericmedvet closed 1 year ago

ericmedvet commented 1 year ago

Make it need, at most, a factory for the single element in case of (parent) lists of different sizes.

ericmedvet commented 1 year ago

Cannot be done easily, since the crossover operates on a L extends List<E>, which is not necessarily a List<E>, so you need a factory of L.