package com.company.genetic_algorithm_find_sequence; import java.util.Random; public class GeneticAlgorithm { private Random random; public GeneticAlgorithm() { this.random = new Random(); } public Population evolvePopulation(Population population) { Population newPopulation = new Population(population.size()); // crossover for(int i=0;i