예제 #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();
 }