English

Breaking the hegemony of the triangle method in clique detection

Data Structures and Algorithms 2021-10-01 v1

Abstract

We consider the fundamental problem of detecting/counting copies of a fixed pattern graph in a host graph. The recent progress on this problem has not included complete pattern graphs, i.e., cliques (and their complements, i.e., edge-free pattern graphs, in the induced setting). The fastest algorithms for the aforementioned patterns are based on a straightforward reduction to triangle detection/counting. We provide an alternative method of detection/counting copies of fixed size cliques based on a multi-dimensional matrix product. It is at least as time efficient as the triangle method in cases of K4K_4 and K5.K_5. The complexity of the multi-dimensional matrix product is of interest in its own rights. We provide also another alternative method for detection/counting KrK_r copies, again time efficient for r{4, 5}r\in \{ 4,\ 5 \}.

Keywords

Cite

@article{arxiv.2109.14876,
  title  = {Breaking the hegemony of the triangle method in clique detection},
  author = {Mirosław Kowaluk and Andrzej Lingas},
  journal= {arXiv preprint arXiv:2109.14876},
  year   = {2021}
}

Comments

12 pages