Arrow Research search
Back to STOC

STOC 2009

Finding, minimizing, and counting weighted subgraphs

Conference Paper Graphs Algorithms and Complexity · Theoretical Computer Science

Abstract

For a pattern graph H on k nodes, we consider the problems of finding and counting the number of (not necessarily induced) copies of H in a given large graph G on n nodes, as well as finding minimum weight copies in both node-weighted and edge-weighted graphs. Our results include: The number of copies of an H with an independent set of size s can be computed exactly in O*(2 s n k-s+3 ) time. A minimum weight copy of such an H (with arbitrary real weights on nodes and edges) can be found in O(4 s+o(s) n k-s+3 ) time. (The O* notation omits (k) factors.) These algorithms rely on fast algorithms for computing the permanent of a k x n matrix, over rings and semirings. The number of copies of any H having minimum (or maximum) node-weight (with arbitrary real weights on nodes) can be found in O(n ω k/3 + n 2k/3+o(1) ) time, where ω 0, unless the 3SUM problem on N numbers can be solved in O(N 2 - ε ) time. This suggests that the edge-weighted problem is much harder than its node-weighted version.

Authors

Keywords

  • subgraph isomorphism
  • weighted graph
  • cliques
  • paths
  • 3sum

Context

Venue
ACM Symposium on Theory of Computing
Archive span
1969-2025
Indexed papers
4364
Paper id
564291724604525375
v2026.09.13