Lines Matching full:generation

4 """A generation of a set of tasks.
8 This module contains the base generation class. This class contains the tasks of
9 this current generation. The generation will not evolve to the next generation
10 until all the tasks in this generation are done executing. It also contains a
11 set of tasks that could potentially be used to generate the next generation,
27 class Generation(object): class
28 """A generation of a framework run.
30 The base class of generation. Concrete subclasses, e.g., GAGeneration should
36 """Set up the tasks set of this generation.
41 next generation.
49 # finished. A generation is not ready for the reproduction of the new
54 """Return the candidate tasks of this generation."""
59 """Return the task set of this generation."""
64 """All the tasks in this generation are done.
74 """Match a task t in this generation that is equal to the input task.
77 method finds out whether there is a pending task t in the current generation
81 substituted with the input task in this generation. In that case, the input
83 be stored in the current generation. These results could be used to produce
84 the next generation.
85 If there is a match, the current generation will have one less pending task.
86 When there is no pending task, the generation can be used to produce the
87 next generation.
95 Whether the input task belongs to this generation.
98 # If there is a match, the input task belongs to this generation.
102 # Remove the place holder task in this generation and store the new input
107 # The current generation will have one less task to wait on.
115 """True if this generation has improvement upon its parent generation.
123 """Calculate the next generation.