A generic algorithm to find all common intervals of two permutations. - Gui Liang Feng; Yujiang Shan (CSB Workshops, 2005)