Lines Matching refs:cycle
136 cycle = cur_path[new_index:]
137 if not is_existing_cycle(cycle, cycles):
138 cycles.append(cycle)
169 for cycle in cycles:
170 cycle.append(cycle[0])
171 zipper = list(zip(cycle[0:-1], cycle[1:]))
192 for total, smallest, cycle in counted:
194 sys.stdout.write(cycle[0][0])
195 for first, count, last in cycle:
199 for cycle in cycles:
200 cycle.append(cycle[0])
201 print(" -> ".join(cycle))
207 for total, smallest, cycle in counted:
208 for first, count, last in cycle:
211 for cycle in cycles:
212 this_cycle = set(cycle)