diff options
author | Yuheng Long <yuhenglong@google.com> | 2013-08-08 21:07:24 -0700 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-08-10 20:26:39 -0700 |
commit | 2b514c28dd26aa02c2ea0f9924be91fb2394c8a0 (patch) | |
tree | e2a9532a20096b0f22b0ee838dbccd364e09027f /bestflags/generation.py | |
parent | bbbd8645405a7058b8e6d17dc1fdec14cbff4f08 (diff) | |
download | toolchain-utils-2b514c28dd26aa02c2ea0f9924be91fb2394c8a0.tar.gz |
Add more examples for better documentation.
BUG=None
TEST=unit testings for the pipeline stage, pipeline workers, generation,
steering, task, flag and hill climbing.
Change-Id: I1f8f361388d3c3171a7135d1d0ef38ee5f695829
Reviewed-on: https://gerrit-int.chromium.org/42584
Reviewed-by: Luis Lozano <llozano@chromium.org>
Commit-Queue: Yuheng Long <yuhenglong@google.com>
Tested-by: Yuheng Long <yuhenglong@google.com>
Diffstat (limited to 'bestflags/generation.py')
-rw-r--r-- | bestflags/generation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bestflags/generation.py b/bestflags/generation.py index 8e1358ad..6fe851a8 100644 --- a/bestflags/generation.py +++ b/bestflags/generation.py @@ -28,7 +28,7 @@ class Generation(object): """A generation of a framework run. The base class of generation. Concrete subclasses, e.g., GAGeneration should - override the Next and Improve method to implement algorithm specific + override the Next and Improved method to implement algorithm specific applications. """ @@ -111,7 +111,7 @@ class Generation(object): return True - def Improve(self): + def Improved(self): """True if this generation has improvement upon its parent generation. Raises: |