Пример #1
0
 public IndexGene(int popsize, int evaluations, Heuristic scoringFunction)
 {
     name = "Index " + scoringFunction.ToString();
     popSize = popsize;
     depth = 5;
     this.evaluations = evaluations;
     fit = new IndexFit(scoringFunction);
 }
Пример #2
-1
 public IndexGene(int popsize, int depth, int generations, Heuristic scoringFunction)
 {
     name = "Index " + scoringFunction.ToString();
     popSize = popsize;
     this.depth = depth;
     this.generations = generations;
     fit = new IndexFit(scoringFunction);
 }