29-09-2019, 08:28 AM
(This post was last modified: 29-09-2019, 08:56 AM by draken-jager.)
yeah, ok I understand. you probably can write a more advanced function where you can give number of crossovers point you want to do. Because with one crossover point this isn't possible:
p1: 010|0010|101
p2: 001|0100|101
ch1: 0100100101
where | are 2 crossover points. But i don't know if it's in scope of your project. Because a simple crossover function is probably just 1 crossover point
.
Are you following a genetic algorithms course? Then you should probably google a bit, I think there will be some good sources about this as it is a popular topic nowadays
p1: 010|0010|101
p2: 001|0100|101
ch1: 0100100101
where | are 2 crossover points. But i don't know if it's in scope of your project. Because a simple crossover function is probably just 1 crossover point
.Are you following a genetic algorithms course? Then you should probably google a bit, I think there will be some good sources about this as it is a popular topic nowadays




Join us on our TWC Discord channel
