research

A Note On Computing Set Overlap Classes

Abstract

Let V{\cal V} be a finite set of nn elements and F={X1,X2,>...,Xm}{\cal F}=\{X_1,X_2, >..., X_m\} a family of mm subsets of V.{\cal V}. Two sets XiX_i and XjX_j of F{\cal F} overlap if XiXj,X_i \cap X_j \neq \emptyset, XjXi,X_j \setminus X_i \neq \emptyset, and XiXj.X_i \setminus X_j \neq \emptyset. Two sets X,YFX,Y\in {\cal F} are in the same overlap class if there is a series X=X1,X2,...,Xk=YX=X_1,X_2, ..., X_k=Y of sets of F{\cal F} in which each XiXi+1X_iX_{i+1} overlaps. In this note, we focus on efficiently identifying all overlap classes in O(n+i=1mXi)O(n+\sum_{i=1}^m |X_i|) time. We thus revisit the clever algorithm of Dahlhaus of which we give a clear presentation and that we simplify to make it practical and implementable in its real worst case complexity. An useful variant of Dahlhaus's approach is also explained

    Similar works