P-complete

k-Truss (k-Truss)

Category: Graph Theory

Input

An undirected graph $G = (V, E)$, an edge $e$, and an integer $k$.

Problem

Is $e$ contained in the $k$-truss of $G$?

Definitions

The $k$-truss of a graph is its maximum subgraph with no isolated vertices such that each edge is contained in at least $k-2$ triangles. It is unique.

Status

$\P$-complete (Couto and Fernandes [1]).

Remarks

The reduction to show hardness is from AM2CVP, and it is given in [1] for dynamic algorithms, though it easily translates to $\P$-completeness. It follows for when $k \geq 4$. When $k \leq 3$ it can be solved using triangle detections, which is in $\NC$.

This is a generalization of the k-Core, and each $k$-truss is also a $(k-1)$-core. The “$k-2$ triangles” in the definition of $k$-truss is awkward, and used so it matches more neatly with $k$-core. Saito and Yamada generalize all these concepts using the $k$-dense model, where $k$-core is 1-level $(k+1)$-dense, $k$-truss is 2-level $k$-dense and $k$-clique union is $(k-1)$-level $k$-dense, see [2] for full definitions. They provide a $\P$ algorithm for $k$-dense extraction.

References

  1. Y. S. Couto and C. G. Fernandes (2025). Hardness of Dynamic Core and Truss Decompositions.
  2. K. Saito and T. Yamada (2006). Extracting Communities from Complex Networks by the k-dense Method.