public IndexGene(int popsize, int evaluations, Heuristic scoringFunction) { name = "Index " + scoringFunction.ToString(); popSize = popsize; depth = 5; this.evaluations = evaluations; fit = new IndexFit(scoringFunction); }
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); }