The selectWinner() method is not selecting the Individual with the best fitness from among the Individuals in the tournament pool. In fact, it looks like it always picks the first individual.
run a tournament
01000110
01100011
01000010
01100011
01100011
winner: 01000110
The selectWinner() method is not selecting the Individual with the best fitness from among the Individuals in the tournament pool. In fact, it looks like it always picks the first individual.
run a tournament
01000110
01100011
01000010
01100011
01100011
winner: 01000110