---
title: 'Vertex r-Triangle s-Club: Complexity & Algorithms'
url: https://www.emergentmind.com/topics/vertex-r-triangle-s-club
type: topic
---

# Vertex r-Triangle s-Club: Complexity & Algorithms

Vertex \(r\)-Triangle \(s\)-Club is a triangle-constrained variant of \(s\)-Club. Given an undirected graph \(G=(V,E)\) and an integer \(k\), the decision problem asks whether there exists a vertex set \(S\subseteq V\) with \(|S|\ge k\) such that the induced subgraph \(G[S]\) has diameter at most \(s\) and every selected vertex belongs to at least \(r\) triangles in \(G[S]\). In the notation of Garvardt et al., this is the paper’s Vertex Triangle \(s\)-Club with \(r=\ell\); the triangles are counted inside the chosen induced subgraph, not in the ambient graph, and the constraint is an “at least” lower bound [2201.05654].

## 1. Formal definition and problem variants

Formally, a set \(S\subseteq V\) is feasible for Vertex \(r\)-Triangle \(s\)-Club if
\[
|S|\ge k,\qquad \operatorname{diam}(G[S])\le s,
\]
and
\[
\forall u\in S:\ \big|\{\{x,y\}\subseteq S\setminus\{u\}\mid ux,uy,xy\in E\}\big|\ge r.
\]
For \(s=2\), an equivalent formulation of the diameter condition is that every two selected vertices are adjacent or have a common neighbor in \(S\). In the optimization form studied for \(s=2\), the objective is to maximize \(|S|\) subject to the same feasibility constraints. A useful local count is
\[
t_S(v)=\bigl|\{\{x,y\}\mid x,y\in N_S(v),\ \{x,y\}\in E(G[S])\}\bigr|,
\]
so feasibility is exactly \(t_S(v)\ge r\) for all \(v\in S\) together with \(\operatorname{diam}(G[S])\le 2\) when \(s=2\) [2211.01701].

The vertex-triangle model is distinct from two nearby families of constraints. In Edge \(r\)-Triangle \(s\)-Club, the requirement is imposed on edges of a suitable spanning subgraph \(\widehat G=(S,\widehat E)\), not directly on vertices of the induced graph. Every edge-\(r\)-triangle solution is also a vertex-\(r\)-triangle solution, but not conversely. Seeded \(s\)-Club adds a prescribed set of seed vertices \(W\) that must be included in the solution; those results are treated separately and do not transfer automatically to the vertex-triangle setting [2201.05654].

## 2. Parameterized complexity by solution size

With parameter \(k\), the required solution size, the central classification is a dichotomy in the pair \((r,s)\). The positive region is extremely narrow: Vertex \(r\)-Triangle \(s\)-Club is fixed-parameter tractable only for \(r=1\) and \(s\ge 4\). It is W[1]-hard for every \(r\ge 2\) and every \(s\ge 2\), and also W[1]-hard for \(r=1\) when \(s\in\{2,3\}\).

| Regime | Status for parameter \(k\) | Notes |
|---|---|---|
| \(r=1,\ s\ge 4\) | FPT | Via Turing kernels |
| \(r=1,\ s\in\{2,3\}\) | W[1]-hard | Hard already at low radius |
| \(r\ge 2,\ s\ge 2\) | W[1]-hard | Hard for all nontrivial radii |

The same line of work also notes classical NP-hardness for all \(s\ge 1\) and all \(r\ge 1\). This places the problem in sharp contrast with unconstrained \(s\)-Club: ordinary \(s\)-Club is W[1]-hard only for \(s=1\), while for every \(s>1\) it is FPT parameterized by \(k\). The per-vertex triangle requirement therefore removes most of the positive parameterized behavior enjoyed by the unconstrained problem [2201.05654].

For the special case \(s=2\), later work on structural parameterizations restates the same negative picture for solution-size parameterization: Vertex \(r\)-Triangle 2-Club remains W[1]-hard when parameterized by the target size, even though several other parameters yield positive results [2509.16143].

## 3. The FPT regime \(r=1\): structural preprocessing and Turing kernels

The tractable case \(r=1\), \(s\ge 4\) is based on an adaptation of the classical Turing-kernel approach for \(s\)-Club. The key preprocessing step is Reduction Rule 1: delete all vertices that are not part of any triangle. This is safe because every vertex in a feasible vertex-\(1\)-triangle solution must lie in a triangle of the induced solution, hence also in a triangle of the input graph.

After this reduction, the crucial structural lemma states that for \(s\ge 4\), if a vertex \(v\) satisfies
\[
|N_{\lfloor s/2\rfloor -1}[v]|\ge k,
\]
then the instance is immediately a yes-instance. The proof constructs a feasible set by starting from \(N_{\lfloor s/2\rfloor -1}[v]\) and, for each vertex on the outer layer, adding two witnesses that form a triangle with it. This expansion keeps all selected vertices within distance at most \(\lfloor s/2\rfloor\) from \(v\), so the resulting induced subgraph remains an \(s\)-club while ensuring that every selected vertex lies in a triangle.

This yields case-specific Turing kernels:
- a \(k^4\)-vertex Turing kernel for \(s=4\) or \(s=7\),
- a \(k^5\)-vertex Turing kernel for \(s=5\),
- a \(k^3\)-vertex Turing kernel for \(s=6\) or \(s\ge 8\).

The method is inherently tied to the threshold \(r=1\). For \(r\ge 2\), adding witnesses for one vertex may create new vertices whose own triangle demands require further additions outside the available radius budget, producing a cascade that destroys the \(s\)-club argument. This explains the sharp divide between the \(r=1\) and \(r\ge 2\) regimes [2201.05654].

The W[1]-hardness proofs use parameterized reductions from Clique. Their common structure replaces each original vertex by a gadget \(T^v\) with an “empty-or-complete” property:
\[
S\cap T^v\neq \emptyset \iff T^v\subseteq S.
\]
Distances between gadgets are then engineered so that two gadgets can coexist in an \(s\)-club only if the corresponding original vertices are adjacent. For \(s=2\), a construction based on cliques of size \(c\), where \(\binom{c-1}{2}\ge r\), yields hardness for every \(r\ge 1\). For \(s=3\), and for \(s\ge 4\) with \(r\ge 2\), a more elaborate gadget family shows hardness even on graphs where each input vertex lies in exactly \(r\) triangles [2201.05654].

## 4. Exact optimization for \(s=2\)

For \(s=2\), the optimization problem has received a dedicated exact-algorithmic treatment. The central observation is local: every 2-club is contained in the closed 2-neighborhood \(N_2[v]\) of each of its vertices. Accordingly, the global instance can be decomposed into local subinstances
\[
G_v := G[N_2[v]],
\]
solve each local problem optimally, and return the largest solution.

The exact solver is a branch-and-bound algorithm with a marked set \(M\) of vertices forced into the solution. Two vertices are called compatible if their distance in the current graph is at most \(2\); otherwise they are incompatible. If an incompatible pair exists, at least one endpoint must be excluded from any feasible 2-club. Rather than branching symmetrically on the pair, the algorithm branches on an unmarked vertex \(u\): either delete \(u\), or mark \(u\). In the second branch, every vertex incompatible with \(u\) can be deleted immediately.

A substantial part of the method is a suite of safe data reductions and upper bounds.

| Rule | Effect |
|---|---|
| LDR | Delete vertices whose degree is too small to support \(r\) triangles |
| LTR | Delete vertices in fewer than \(r\) triangles |
| IRR / MIR | Remove vertices incompatible with marked ones; reject branches with incompatible marked pairs |
| CR / NCR | Mark vertices forced by triangle support or unique distance-2 paths |
| 2-NR / LCR | Delete vertices with too few compatible partners |
| Matching Rule | Prune if a conflict-graph matching gives an upper bound no better than the incumbent |

The conflict graph \(G_c\) has the same vertex set as the current graph and edges between incompatible pairs. It supports pruning rules such as the Low-Compatibility Rule and a matching-based upper bound. Lower bounds are equally important. The Neighborhood Lower Bound (N-LB) works on closed neighborhoods \(N[v]\) and is exact whenever an optimal solution has a universal vertex. The Greedy Lower Bound (G-LB) works on larger 2-neighborhood instances and greedily repairs incompatibilities. Their combination, Multi-LB, first computes N-LB, applies reductions, and then uses G-LB on the remaining candidates. Theoretical running times reported for core components are \(O(md)\) for exhaustive LTR, \(O(nm)\) for conflict-graph construction, \(O(md^2)\) for N-LB, \(O(m\Delta^3 d^2)\) for G-LB, and \(O(2^{\,n-k}nm)\) for the decision problem parameterized by \(n-k\) [2211.01701].

The implementation is highly engineered and was evaluated on 67 social, biological, and technical network instances, from fewer than 100 to about 300,000 vertices, for 27 values of \(r=\ell\). On sparse real-world graphs, the solver finds optimal solutions for instances with up to roughly \(290{,}000\) vertices and \(990{,}000\) edges. For Vertex Triangle 2-Club, N-LB is the fastest overall variant, while Multi-LB gives the strongest lower bounds. Relative to the best compared ILP formulation, denoted Fxkany after Almeida and Brás’s formulations, the paper reports that Fxkany and the basic branch-and-bound solve roughly \(80\%\) of instances within one hour, whereas N-LB solves \(80\%\) in less than one minute and is reported as more than 60 times faster. Increasing \(r\) tends to accelerate computation because LDR and LTR remove more of the graph early; it also increases density, the global clustering coefficient, and the minimum local clustering coefficient of the returned solutions [2211.01701].

## 5. Structural parameterizations

A later line of work studies Vertex \(r\)-Triangle \(s\)-Club through structural parameters of the input graph. For \(s=2\), the main positive theorem is fixed-parameter tractability by treewidth:
\[
2^{2^{O(\mathrm{tw})}} n^{O(1)}.
\]
The dynamic program runs on a nice tree decomposition and stores, for each bag \(X_t\), a subset \(A\subseteq X_t\) of selected bag vertices, a truncated triangle-count function \(f:A\to [r]\cup\{0\}\), and a family \(\mathcal Q\subseteq 2^A\) encoding bag-neighborhood signatures of forgotten vertices. The state is large because \(\mathcal Q\) ranges over families of subsets of \(A\), producing the doubly exponential dependence on treewidth. The proof then removes the explicit dependence on \(r\) by showing that any feasible solution satisfies
\[
r \le \binom{2\mathrm{tw}+1}{2}=O(\mathrm{tw}^2).
\]

The same paper gives an XP algorithm for Vertex \(r\)-Triangle 2-Club parameterized by the \(h\)-index:
\[
2^{O(k^4)} n^{2^{O(k)}}.
\]
Its strategy isolates a high-degree core, guesses the solution’s intersection with that core, groups the remaining vertices by identical neighborhoods into the guessed part, and localizes difficult interactions within bounded-radius regions of the low-degree remainder.

For all \(s\), not just \(s=2\), the strongest kernelization result is for the feedback edge number \(\mathrm{fes}\). Vertex \(r\)-Triangle \(s\)-Club admits a kernel with at most
\[
3\,\mathrm{fes}
\]
vertices and
\[
4\,\mathrm{fes}-1
\]
edges. The underlying reason is that every triangle must use a feedback edge, and each feedback edge can support at most one triangle-relevant vertex outside the set of feedback-edge endpoints. The same study also records an MSO/Courcelle-based FPT result for parameter \(\mathrm{tw}+r\), polynomial-time solvability for Vertex \(r\)-Triangle 2-Club when deleting one vertex makes the graph bipartite, and an FPT algorithm parameterized by vertex cover together with the lower bound that no polynomial kernel exists for that parameter unless \(\mathrm{NP}\subseteq \mathrm{coNP}/\mathrm{poly}\) [2509.16143].

A structurally useful lemma in this context is the twin augmentation property: if \(S\) is an \(s\)-club satisfying the vertex \(r\)-triangle property, \(u\in S\), \(|S|>1\), and \(N_G(u)=N_G(v)\), then \(S\cup\{v\}\) is also feasible. This supports algorithms that compress vertices into identical-neighborhood classes [2509.16143].

## 6. Density, robustness, and open directions

The triangle requirement enforces local density, but it does not by itself guarantee robustness. In a vertex-\(r\)-triangle \(s\)-club, the minimum degree is larger than \(\sqrt{2r}\), yet this lower bound is insufficient to prevent fragile solutions. A concrete example is two \((d+1)\)-cliques connected by a single edge: the resulting graph is a vertex-\(\binom d2\)-triangle \(3\)-club, but deleting that single inter-clique edge disconnects it. This clarifies a common misconception: high per-vertex triangle support is not equivalent to edge robustness or fault tolerance [2201.05654].

That distinction is precisely why the edge-triangle model is treated separately. The proposition concerning robustness under up to \(r\) edge deletions applies to edge-\(r\)-triangle \(s\)-clubs, not to the vertex version. Likewise, the stronger positive statement that the case \(r=1\) is fixed-parameter tractable for each \(s\) belongs to the edge variant, not to Vertex \(r\)-Triangle \(s\)-Club. For the vertex version, the exact boundary under parameter \(k\) remains the narrow tractable region \(r=1\), \(s\ge 4\) versus W[1]-hardness elsewhere [2201.05654].

The most developed exact and heuristic machinery is also strongly tied to \(s=2\). Incompatibility testing there reduces to checking whether two vertices are adjacent or share a common neighbor, neighborhood-based lower bounds exploit the fact that a closed neighborhood is automatically a 2-club, and the No-Choice Rule depends on unique common neighbors. These ingredients do not carry over directly to \(s\ge 3\) [2211.01701].

Open problems remain substantial. For every \(s\ge 3\), the FPT status of Vertex \(r\)-Triangle \(s\)-Club parameterized by treewidth is open. Beyond the special case where distance to bipartite graph is \(1\), the status for larger distances is also open. Suggested further parameters include distance to cluster, distance to co-cluster, and degeneracy. Collectively, these questions indicate that the interaction between bounded diameter and per-vertex triangle support is understood in several sharp special cases, but not yet in a general structural theory [2509.16143].

Source: https://www.emergentmind.com/topics/vertex-r-triangle-s-club