}
}
public static void main(final String[] args) throws Exception {
final Genotype<DoubleGene> genotype = Genotype.of(
new DoubleChromosome(0.0, 1.0, 8),
new DoubleChromosome(1.0, 2.0, 10),
new DoubleChromosome(0.0, 10.0, 9),
new DoubleChromosome(0.1, 0.9, 5)
);
final GeneticAlgorithm<DoubleGene, Double> ga = new GeneticAlgorithm<>(genotype, new Id(), new Scaler());
ga.setPopulationSize(5);
ga.setup();