More robust dataset

This commit is contained in:
Philippe Tillet
2014-09-30 10:11:22 +02:00
parent 0a1894d003
commit 3523a3756f
5 changed files with 73 additions and 83 deletions

View File

@@ -50,4 +50,4 @@ from genetic import GeneticOperators
def genetic(statement, context, TemplateType, build_template, parameter_names, compute_perf, perf_metric, out):
GA = GeneticOperators(context.devices[0], statement, parameter_names, TemplateType, build_template, out)
GA.optimize(maxtime='2m30s', maxgen=1000, compute_perf=compute_perf, perf_metric=perf_metric)
return GA.optimize(maxtime='2m30s', maxgen=1000, compute_perf=compute_perf, perf_metric=perf_metric)