Sahin, Cem wrote:
> I am using one-point crossover and roulette wheel selection. I want to
> be sure that I am performing crossover operation between different
> chromosomes. (source and source are always different). How can I
> do it?
ECJ doesn't have this facility built-in. The easiest way to do it is to
create a version of the crossover pipeline which repeatedly requests
individuals from its sources until the individuals are not equal to one
another. You should be able to use the equal() method to do this, as it
tests for genetic equality.