public Individual(Chromosome[] genotypeAlfa, Chromosome[] genotypeBeta, MutationType _mutation, GenotypeMixer _genMixer) { this.mutation = _mutation; this.genMixer = _genMixer; this.genotype = genMixer.Mix(genotypeAlfa, genotypeBeta); }
public Individual(MutationType _mutation, GenotypeMixer _genMixer, GeneValue[] allPossibleGenes, int cromosomeAmount, int cromosomeLength) { this.mutation = _mutation; this.genMixer = _genMixer; InitGenotype(allPossibleGenes, cromosomeAmount, cromosomeLength); score = 0; }