protected override FitnessFunction <Chromosome, BinaryRepresentation> GetFitness() { return(FitnessFunction <Chromosome, BinaryRepresentation> .Create(c => this.optimizingFunction.GetValue(c, new ChromosomeToDoubleSetConverter()))); }
protected override FitnessFunction <TspChromosome, City> GetFitness() { return(FitnessFunction <TspChromosome, City> .Create(c => c.GetTravelDistance())); }