Exemple #1
0
def evaluate(individual):
    dataset = applytuple(errorscan.scan_points, *individual)
    return 1 / (1 + total_sum(dataset, refmap)),
Exemple #2
0
def evaluate(individual, errorscan, refmap):
    dataset = applytuple(errorscan.scan_points, *individual)
    return 1.0 / (1.0 + float(total_sum(dataset, refmap))),