public DefaultSolver(Solver.Config cfg) { config = cfg; random = new Random(); mutation = new Mutation(config.mutationChance); crossover = new Crossover(config.singleFeatureCrossoverChance, config.crossoverChance, random); }
public SimpleSolver(Solver.Config cfg) { config = cfg; random = new Random(); }