Lines Matching full:generation
14 from generation import Generation
26 # The number of tasks to be put in each generation to be tested.
34 class MockGeneration(Generation):
35 """This class emulates an actual generation.
46 next_generations: A list of generations as the next generation of the
47 current generation.
49 Generation.__init__(self, tasks, None)
65 generation. The steering algorithm should send all the tasks to the next stage
66 and should terminate once there is no pending generation. A generation is
85 # Generate a sequence of generations to be tested. Each generation will
86 # output the next generation in reverse order of the list when the "Next"
90 # tasks put into a generation.
97 # Let the previous generation as the offspring generation of the current
98 # generation.
107 # If there is no generation at all, the unittest returns right away.
122 # Test that each generation is processed properly. I.e., the generations are
125 generation = generations.pop(0)
126 tasks = [task for task in generation.Pool()]
152 # Put a set of tasks in the cache and add this set to initial generation.