From c01232264caccaffe6302414b7e901a96d3b18bf Mon Sep 17 00:00:00 2001 From: Yuheng Long Date: Sun, 11 Aug 2013 12:24:32 -0700 Subject: Refine the module hill_climb_best_neighbor. BUG=None TEST=unit testings for the pipeline stage, pipeline workers, generation, steering, task, flag and hill climbing. Change-Id: I95fd82072f1474b73735a643f2da589eb930b838 Reviewed-on: https://gerrit-int.chromium.org/42663 Reviewed-by: Luis Lozano Tested-by: Yuheng Long Commit-Queue: Yuheng Long --- bestflags/steering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bestflags/steering.py') diff --git a/bestflags/steering.py b/bestflags/steering.py index 5cdf8aed..a7a559e2 100644 --- a/bestflags/steering.py +++ b/bestflags/steering.py @@ -99,7 +99,7 @@ def Steering(cache, generations, input_queue, result_queue): # A generation may not generate the next generation, e.g., because a # fixpoint has been reached, there has not been any improvement for a few # generations or a local maxima is reached. - if not generation.Improved(): + if not generation.IsImproved(): continue for new_generation in generation.Next(cache): -- cgit v1.2.3