Home
last modified time | relevance | path

Searched refs:num_trials (Results 1 – 3 of 3) sorted by relevance

/external/toolchain-utils/bestflags/
Dgenetic_algorithm.py168 def InitMetaData(stop_threshold, num_chromosomes, num_trials, specs, argument
184 GAGeneration.NUM_TRIALS = num_trials
262 num_trials = 0
264 while num_trials < GAGeneration.NUM_TRIALS:
273 num_trials += 1
275 num_trials = 0
277 while len(child_pool) < target_len and num_trials < GAGeneration.NUM_TRIALS:
286 num_trials += 1
290 if num_trials >= GAGeneration.NUM_TRIALS:
Dexample_algorithms.py102 num_trials = DEFAULT_NUM_TRIALS
104 num_trials = meta_data[NUM_TRIALS]
117 GAGeneration.InitMetaData(stop_threshold, num_chromosomes, num_trials, specs,
122 num_trials)
Dtesting_batch.py107 def GenerateRandomGATasks(specs, num_tasks, num_trials): argument
123 while len(tasks) < num_tasks and total_trials < num_trials: