The following figure outlines how the Cycle Scanner algorithm works. The following pages describe each step of this algorithm.