Lines Matching refs:GAGeneration
145 class GAGeneration(Generation): class
182 GAGeneration.STOP_THRESHOLD = stop_threshold
183 GAGeneration.NUM_CHROMOSOMES = num_chromosomes
184 GAGeneration.NUM_TRIALS = num_trials
185 GAGeneration.SPECS = specs
186 GAGeneration.MUTATION_RATE = mutation_rate
224 if self._total_stucks >= GAGeneration.STOP_THRESHOLD:
243 target_len = GAGeneration.NUM_CHROMOSOMES
244 specs = GAGeneration.SPECS
245 mutation_rate = GAGeneration.MUTATION_RATE
264 while num_trials < GAGeneration.NUM_TRIALS:
277 while len(child_pool) < target_len and num_trials < GAGeneration.NUM_TRIALS:
290 if num_trials >= GAGeneration.NUM_TRIALS:
295 return [GAGeneration(child_pool, set(retained_tasks), self._total_stucks)]