P-complete

k-Core (k-Core)

Category: Graph Theory

Input

An undirected graph $G = (V, E)$, a vertex $v$, and an integer $k$.

Problem

Is $v$ contained in the $k$-core of $G$?

Definitions

The $k$-core of a graph is its maximum subgraph with minimum degree at least $k$. It is unique.

Status

$\P$-complete (Anderson and Mayr [1]).

Remarks

The reduction to show hardness is from AM2CVP, and it follows even when $k \leq 3$ (3-Core) on graphs of maximum degree 4. When $k \leq 2$ it can be solved using path doubling techniques and is in $\NC$ [1].

In the late 90’s, the problem used to be called High Degree Subgraph (HDS), but more recent research calls this the k-Core problem. However, it is recently more explored in other models (dynamic, distributed) rather than in a classic PRAM model.

In the original paper for the $\P$-completeness, the problem is stated as here (except it’s called HDS), while in [5] the task is to decide whether a non-empty $k$-core exists (we shall hence refer to this as NE-k-Core). These are slightly different variants, but both are shown to be $\P$-complete in [1].

There is an $\NC$ algorithm computing the 2-core of a graph (and thus deciding 2-Core and NE-2-Core).

Let the core value $C_G(v)$ of $v$ be the largest $k$ such that $v$ is in the $k$-core of $G$. We can consider the optimization problem of finding $C_G(v)$ for a fixed $v$.

For any $\epsilon > 0$, there is a $(2+\epsilon)$-approximation algorithm for finding $C_G(v)$ [1], that is, computing $x$ such that $C_G(v) \leq x \leq (2+\epsilon)C_G(v)$. Furthermore, computing any $(2-\epsilon)$-approximation is $\P$-hard.

Several variants of this problem, for directed graphs (KL-Dcore), bipartite graphs (αβ-Bcore), and the k-Truss are also $\P$-complete [2].

The complementary Low Degree Subgraph Problem has also been studied and for several natural decision problems it is $\NP$-complete (Greenlaw [3]). Decision problems based on ordered vertex removal relating to subgraph computations are also $\P$-complete [3].

A special case of k-Core is the Color Index Problem (Vishwanathan and Sridhar [4]): given an undirected graph $G = (V, E)$, is the color index of $G$ less than or equal to four? The color index is the maximum over all subgraphs $H$ of $G$, of the minimum degree of $H$. Asking if the color index is less than or equal to four is complementary to asking if the 5-core is nonempty. The original reduction for Color Index is from OLDVR.

References

  1. R. J. Anderson and E. W. Mayr (1984). A P-complete problem and approximations to it.
  2. Y. S. Couto and C. G. Fernandes (2025). Hardness of Dynamic Core and Truss Decompositions.
  3. R. Greenlaw (1989). Ordered vertex removal and subgraph problems.
  4. S. Vishwanathan and M. A. Sridhar (1988). Some results on graph coloring in parallel.
  5. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.2.7.