“…In other words, in the initial stage, we push P [1,2] and P [2,3] (P [i, j] is the pair of item [i] and item [j], given i≤j) into the top-2 list, and compute their cosine values. Then, in the updating stage, we traverse along the diagonals (denoted by the dash-dotted line) in the sorted item-matrix to check in sequence whether P [3,4] , P [4,5] , P [5,6] , P [4,6] , P [3,5] ,…, P [1,6] can enter the top-2 list, as shown in Fig. 1.…”