Пример #1
0
 public DefaultSolver(Solver.Config cfg)
 {
     config = cfg;
     random = new Random();
     mutation = new Mutation(config.mutationChance);
     crossover = new Crossover(config.singleFeatureCrossoverChance, config.crossoverChance, random);
 }
Пример #2
0
 public SimpleSolver(Solver.Config cfg)
 {
     config = cfg;
     random = new Random();
 }