Searched refs:cost_func (Results 1 – 1 of 1) sorted by relevance
/external/toolchain-utils/bestflags/ |
D | testing_batch.py | 232 def _ComputeCost(cost_func, specs, flag_set): argument 256 return eval(cost_func) 277 def _TestAlgorithm(cost_func, specs, generations, best_result): argument 315 task_result = _ComputeCost(cost_func, specs, task.GetFlags()) 407 cost_func = 'sys.maxint - sum(values[0:len(values)])' 408 _TestAlgorithm(cost_func, specs, generations, -1)
|