Abstract 1 Introduction 2 Preliminaries 3 A Robust Algorithm for Hamiltonian Path and Cycle 4 A Subexponential FPT algorithm for Long Path 5 Conclusion References

Robust Algorithms for Path and Cycle Problems in Geometric Intersection Graphs

Malory Marin ORCID ENS de Lyon, CNRS, Université Claude Bernard Lyon 1, LIP, UMR 5668, 69342, Lyon cedex 07, France    Jean-Florent Raymond ORCID CNRS, ENS de Lyon, Université Claude Bernard Lyon 1, LIP, UMR 5668, 69342, Lyon cedex 07, France    Rémi Watrigant ORCID Université Claude Bernard Lyon 1, CNRS, ENS de Lyon, LIP, UMR 5668, 69342, Lyon cedex 07, France
Abstract

We study the design of robust subexponential algorithms for classical connectivity problems on intersection graphs of similarly sized fat objects in d. In this setting, each vertex corresponds to a geometric object, and two vertices are adjacent if and only if their objects intersect. We introduce a new tool for designing such algorithms, which we call a λ-linked partition. This is a partition of the vertex set into groups of highly connected vertices. Crucially, such a partition can be computed in polynomial time and does not require access to the geometric representation of the graph.

We apply this framework to problems related to paths and cycles in graphs. First, we obtain the first robust ETH-tight algorithms for Hamiltonian Path and Hamiltonian Cycle, running in time 2O(n11/d) on intersection graphs of similarly sized fat objects in d. This resolves an open problem of de Berg et al. [STOC 2018] and completes the study of these problems on geometric intersection graphs from the viewpoint of ETH-tight exact algorithms.

We further extend our approach to the parameterized setting and design the first robust subexponential parameterized algorithm for Long Path in any fixed dimension d. More precisely, we obtain a randomized robust algorithm running in time 2O(k11/dlog2k)nO(1) on intersection graphs of similarly sized fat objects in d, where k is the natural parameter. Besides λ-linked partitions, our algorithm also relies on a low-treewidth pattern covering theorem that we establish for geometric intersection graphs, which may be viewed as a refinement of a result of Marx-Pilipczuk [ESA 2017]. This structural result may be of independent interest.

Keywords and phrases:
Robust algorithms, geometric intersection graphs, subexponential FPT algorithms
Funding:
Malory Marin: Supported by Projet ANR GODASse, Projet-ANR-24-CE48-4377.
Copyright and License:
[Uncaptioned image] © Malory Marin, Jean-Florent Raymond, and Rémi Watrigant; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Graph algorithms analysis
Related Version:
Full Version: https://arxiv.org/pdf/2512.03843
Editors:
Hee-Kap Ahn, Michael Hoffmann, and Amir Nayyeri

1 Introduction

Given a set of objects in d, the intersection graph of is defined as the graph having one vertex for each object in , and an edge between two vertices whenever the corresponding objects intersect. One of the most extensively studied classes of intersection graphs are the unit disk graphs, obtained when the objects are disks in 2 of identical radius. In this work, we consider families of similarly sized β-fat objects in d (for some constants d,β1) which means that for every object O, there are two balls Bin and Bout of d such that BinOBout, where Bin has radius 1 and Bout has radius β.

In their seminal work, de Berg et al. [4] introduced a general framework for deriving algorithms with running times that are tight under the Exponential Time Hypothesis (ETH) for a broad range of classical problems on intersection graphs of similarly sized fat objects. Their framework encompasses problems such as Maximum Independent Set, Dominating Set, Steiner Tree, and Hamiltonian Cycle. The key idea of their approach is the construction of a partition 𝒫=(V1,,Vt) of the vertex set of the input graph G satisfying the following properties:

  1. (i)

    each induced subgraph G[Vi] can be further partitioned into at most κ cliques, and

  2. (ii)

    the quotient graph of the parts, denoted G𝒫, has bounded degree and treewidth O(n11/d).

Notice that 𝒫 can be computed without access to the geometric representation of F, and is enough to solve all the aforementioned problems except for Hamiltonian Cycle. Algorithms of this type, which operate solely on the intersection graph and do not require a geometric representation, are referred to as robust algorithms. We stress here that robustness is a substantial advantage since for many classes of intersection graphs such as unit disk graphs, computing a representation is -complete [10].

However, the algorithm of [4] solving Hamiltonian Cycle requires one additional step: computing a partition of each Vi into a bounded number of cliques. For this step, de Berg et al. used the geometric representation. They explicitly left open the question of whether a robust ETH-tight algorithm for Hamiltonian Cycle could be obtained. One possible direction toward such a result would be to design a robust algorithm that computes a partition into a constant number of cliques whenever the input graph is known to contain one. Unfortunately, recent advances on clique partitions of geometric graphs suggest that this task is likely to be difficult [11].111There is no 2o(n)-time algorithm for this problem in unit ball graphs of 5, unless the ETH fails [11]. It is worth noting that, in the case of unit disk graphs, such a clique partition can be obtained using the approach of [13].

We circumvent this problem by using a new type of partition into highly connected subgraphs called λ-linked partitions. We show the two following crucial properties : these partitions can be used to solve the considered problems (instead of partitions into cliques) and they can be computed in polynomial time (and, importantly, without relying on the geometric representation) in graphs known to admit a partition into a constant number of cliques.

Combining these findings with the framework of de Berg et al., we obtain the following.

Theorem 1.

For every constants d1 and β1 there is a robust algorithm solving Hamiltonian Path (resp. Hamiltonian Cycle) in time 2O(n11/d) on intersection graphs of similarly sized β-fat objects in d.

This result matches the ETH-based lower bound of [4] and resolves an open problem from the same paper.

To further demonstrate the applicability of our techniques, we show in a second part of the paper how they can be used to deal with parameterized version of Hamiltonian Path, that is, Long Path parameterized by the length of the path. For this problem and for Long Cycle, Fomin et al. proved in [16] that there are algorithms running in time 2O(k)nO(1) on intersection graphs of similarly sized fat objects in 2. Their approach relies on computing a clique partition of the vertex set and analyzing the resulting clique-grid graph. The idea of using clique partitions in the context of subexponential parameterized algorithms was introduced in [8] and has since become a central tool in the area [15]. However, the clique-grid graph is typically defined using a geometric representation of the input graph. Designing a robust subexponential parameterized algorithm for Long Path in dimensions d3 has remained an open problem. Indeed, while the bidimensionality-based approach of [16] does not generalize to higher dimensions, the approach of [8], based on Baker’s technique [5], again requires access to the geometric representation.

We show that this dependency can be removed by combining two key techniques. The first consists, as in the case of the Hamiltonian Path problem, in replacing the clique partition with a partition into highly connected parts. The second is an adaptation of the low-treewidth pattern covering technique, introduced by Fomin et al. [7] for planar graphs and later extended to graphs of polynomial growth by Marx and Pilipczuk [12]. Formally, we prove that there exists a randomized polynomial-time algorithm which, given an intersection graph of similarly sized objects in d with bounded degree and an integer k, outputs a vertex set AV(G) such that G[A] has treewidth O(k11/dlogk), and for every set XV(G) of size at most k, we have XA with probability at least 2Ω(k11/dlog2k). This result can be viewed as a strengthening of that of Marx and Pilipczuk [12] in the case where the input graph has additional geometric structure rather than merely polynomial growth. Combined together, these techniques yield the first robust subexponential FPT algorithm for Long Path.

Theorem 2.

For every constants d1 and β1, there is a robust randomized parameterized algorithm solving Long Path in time 2O(k11/dlog2k)nO(1) on intersection graphs of similarly sized β-fat objects of d.

2 Preliminaries

2.1 Graph Theory

Unless otherwise specified we use standard graph theory terminology. All graphs considered in this paper are simple, undirected, and finite. For a graph G, we denote by V(G) and E(G) its vertex set and edge set, respectively. We write n=|V(G)| and m=|E(G)| its number of vertices and edges when G is clear from the context. For a vertex vV(G), we write NG(v) for its open neighborhood, that is, the set of vertices adjacent to v, and NG[v]=NG(v){v} for its closed neighborhood. For XV, we denote by G[X] the subgraph of G induced by X, and by GX the subgraph induced by VX. The degree of a vertex v is dG(v)=|NG(v)|, and the maximum degree of G is denoted by Δ(G). An independent set IV(G) is a subset of pairwise non-adjacent vertices of G. The independence number of G, denoted by α(G), is the maximum size of an independent set of G.

A path in a graph G is a sequence of distinct vertices (v1,v2,,vk) such that any two consecutive vertices are adjacent in G. A cycle is also a sequence of vertices (v1,v2,vk) such that any two consecutive vertices are adjacent in G, and vkv1E(G). Given a path P (resp. a cycle), we denote by V(P) the set of vertices appearing in the sequence.

For two vertices u,v of a graph G, the distance between u and v, denoted by distG(u,v), is the minimum number of edges on a path from u to v in G. For an integer r, and a vertex vV(G), we define BG(v,r)={wV(G):distG(v,w)<r}, that is, the set of vertices at distance strictly less than r from v in G. Similarly, we let BG(v,r)={wV(G):distG(v,w)=r} denote the set of vertices at distance exactly r from v.

2.2 Treewidth, 𝜿-partition and 𝓟-contraction

A tree decomposition of a graph G=(V,E) is a pair (T,{Xt}tV(T)) where T is a tree, {Xt}tV(T) is a collection of subsets of V(G) (called bags), and satisfying the following:

  1. (i)

    tV(T)Xt=V(G),

  2. (ii)

    for every edge uvE(G), there exists a bag Xt containing both u and v, and

  3. (iii)

    for every vertex vV, the set {tV(T)vXt} induces a connected subtree of T.

Given a graph G and a weight function γ:V(G)0, the weighted width of a tree decomposition (T,{Xt}) is maxtV(T)vXtγ(v). The weighted treewidth of G (w.r.t. a given weight function) is the minimum weighted treewidth over all tree decompositions of G [14].

In [4], de Berg et al. introduced the notion of a κ-partition as a generalization of a clique partition, in order to obtain separator theorems for intersection graphs of similarly sized fat objects in d.

Definition 3 (κ-partition [4]).

Let G be a graph and let κ1 be an integer. A κ-partition of G is a partition 𝒫=(V1,,Vt) of V(G) such that each class Vi induces a connected subgraph G[Vi] whose vertex set can be partitioned into at most κ cliques. If κ=1, 𝒫 is called a clique partition of G.

Definition 4 (𝒫-contraction [4]).

Given a graph G and a partition 𝒫=(V1,,Vt) of V(G), the 𝒫-contraction of G, denoted by G𝒫, is the (simple) graph whose vertex set is {V1,,Vt}, where ViVj is an edge if and only if there is an edge in G between a vertex of Vi and a vertex of Vj. The degree of the partition 𝒫 refers to the maximum degree of G𝒫. Given a weight function γ:, we define the weighted treewidth of G𝒫 (w.r.t. γ) by assigning to each vertex ViV(G𝒫) the weight γ(|Vi|).

The following result shows that for intersection graphs of similarly sized fat objects, it is possible to construct a κ-partition for which G𝒫 has bounded maximum degree and sublinear weighted treewidth.

Theorem 5 (de Berg et al. [4, Theorem 12]).

Let d2, β1 and ε>0 be constants, and let γ be a weight function satisfying 1γ(x)=O(x11/dε). There exist constants κ and Δ such that the following holds :

  • Any intersection graph G of similarly-sized β-fat objects in d has a κ-partition 𝒫 such that G𝒫 has weighted treewidth O(n11/d) (with respect to γ) and maximum degree Δ.

  • There is a polynomial-time algorithm that, given such a graph G (without the representation), returns such a κ-partition, and a 2O(n11/d)-time algorithm which returns the corresponding tree decomposition.

 Remark 6.

We provide here a few additional observations regarding the construction and properties of the κ-partition.

  • The κ-partition can be obtained in a greedy manner as follows: consider a maximal independent set S of G and create one part for each vertex of this independent set. By maximality, every vertex vV(G)S has a neighbor in S. We pick any uN(v)S and add v to the same part as u. As a consequence, in any geometric representation of G with similarly sized β-fat objects, two objects belonging to the same part of a κ-partition can be assumed to be at distance at most 2β (see Figure 1).

  • The graph G𝒫 defined in the theorem above has (unweighted) treewidth O(n11/d) when γ is the unit function.

Figure 1: An example of 3 fat objects, the blue disks representing the enclosing disks of each object. The objects on left and right intersect the same object so there are at distance at most 2β.

2.3 Hamiltonicity and Connectivity

A path (or cycle) is said to be Hamiltonian if it contains all vertices of the graph. The Hamiltonian Path (resp. Cycle) problem asks, given a graph G, whether G has a Hamiltonian path (resp. cycle). The Long Path problem asks, given a graph G and a parameter k, whether G has a path on k vertices.

Since the problems we study are either trivially infeasible on disconnected graphs, or can be handled by considering each connected component independently, we restrict our attention to connected graphs throughout the paper.

A vertex separator in a connected graph G is a subset AV(G) such that GA=G[V(G)A] is disconnected. The vertex connectivity of G, denoted by cv(G), is the size of a minimum vertex separator of G, or |V(G)|1 if G is complete. Since we will not consider edge connectivity, we simply refer to cv(G) as the connectivity of G. A graph G is said -connected whenever cv(G).

A graph G is said to be -linked if |V(G)|2 and, for every collection of disjoint pairs of distinct vertices (s1,t1),(s2,t2),,(s,t), there exist vertex-disjoint paths P1,,P such that each Pi connects si to ti. The graph G is Hamiltonian--linked if there are such paths that, in addition, span all the vertices of G.

Let H and G be graphs. A topological minor embedding (or TM-embedding) of H into G is a pair (M,f), where M is a subgraph of G and f:V(H)V(M) is an injective mapping such that, for every edge {u,v}E(H), there exists a path Puv in M connecting f(u) and f(v), and all these paths are pairwise internally vertex-disjoint. We say that H is a topological minor of G if such a TM-embedding exists. Moreover, when V(G)=uvE(H)V(Pu,v), we say that the TM-embedding is spanning all vertices of G.

The following lemma, due to Fomin et al. [6], establishes that in highly connected graphs, either a given small graph H can be TM-embedded in a spanning way, or there exists a large independent set.

Lemma 7 ([6, Lemma 4]).

Let H and G be graphs, with H non-empty. Let f:V(H)V(G) be an injective mapping, and let k be a positive integer. Assume that G is (max{k+2,10}h)-connected, where h=|V(H)|+|E(H)|. Then there exists an algorithm with running time 2(h+k)O(k)+|G|O(1) that computes either a subgraph MG such that (M,f) is a TM-embedding of H in G spanning all vertices of G, or an independent set of size k in G.

Note that when H is the disjoint union of edges and k>α(G), Lemma 7 implies that the algorithm returns a TM-embedding of H spanning all vertices of G, regardless of the choice of the injective mapping f. It is straightforward to observe that in this case, H is Hamiltonian--linked.

Lemma 8 (Consequence of Lemma 7).

Let G be a graph and let 1 be an integer. If G is (max{α(G)+3,10}3)-connected, then G is Hamiltonian--linked for all . Moreover, there exists an algorithm with running time g(α(G),)|G|O(1) (for some computable function g) which, given a graph G and 2 distinct vertices {si,ti}1i, constructs vertex-disjoint paths P1,,P such that each Pi connects si to ti, and the union of these paths spans all vertices of G.

3 A Robust Algorithm for Hamiltonian Path and Cycle

This section is devoted to our main tool, namely λ-linked partitions of intersection graphs of similarly sized fat objects, and to their application in proving Theorem 1.

3.1 Linked Partitions

We now generalize the notion of κ-partition to the concept of a λ-linked partition, where each part has to be highly connected.

Definition 9 (λ-linked partition).

Let G be a graph and let λ1 be an integer. A λ-linked partition of G is a partition 𝒫=(V1,,Vt) of V(G) such that each part Vi either induces a clique or a Hamiltonian λ-linked graph.

Theorem 10.

Let d2 and β1 be constants. There exists a constant Δ such that for every c1 and λΔ+c, the following holds:

  • Any intersection graph G of similarly-sized β-fat objects in d has a λ-linked partition 𝒫 of G such that G𝒫 has treewidth O(n11/d) and maximum degree Δ.

  • There is a 2O(n11/d)-time algorithm that, given such a graph (without a representation), returns such a partition as well as the corresponding tree decomposition.

Moreover, the difference between λ and Δ can be made arbitrarily large.

Proof.

Let 𝒫0=(V10,,Vt0) be the κ-partition obtained in Theorem 5, so that G𝒫0 has maximum degree Δ and treewidth O(n11/d). This partition can be computed in polynomial time, and a tree decomposition of width O(n11/d) in time 2O(n11/d). We now refine each part Vi0 of 𝒫0 using the following key claim. Let g: be a function to be set later.

Claim 11.

Let XV(G) be a vertex set such that X admits a (unknown) clique partition of size κ. Then X can be partitioned into at most 2κ subsets, each of which either induces a clique or a g(κ)-connected subgraph, and such a partition can be found in polynomial-time.

Proof.

We first construct a separator tree T for G[X]. This is a rooted tree defined as follows. If G[X] has no vertex separator of size at most g(κ), then T consists of a single leaf, which is also the root, and whose label is X. Otherwise, let SX be a vertex separator of G[X] of size at most g(κ), and let X1,,X be the vertex sets of the connected components of G[XS], where 2. For each i{1,,}, recursively construct a separator tree Ti for G[Xi]. Then T is obtained by creating a new root node labelled with S and making it adjacent to the roots of T1,,T.

By construction, every leaf of T is labelled with a set CX such that G[C] has no separator of size at most g(κ); that is, each G[C] is g(κ)-connected.

Furthermore, T has at most κ leaves. Indeed, suppose for contradiction that T had at least κ+1 leaves C1,,Cκ+1. Since the labels of distinct leaves lie in distinct connected components after removing all separators encountered on their respective root–leaf paths, they are pairwise non-adjacent. Thus picking one vertex from each Ci yields an independent set of size κ+1, which is a contradiction with the existence of a clique partition of size κ.

Since every internal node has at least two children and the tree has at most κ leaves, it follows that T has at most κ1 internal nodes. Each internal node is labelled with a separator of size at most g(κ), so the union X of those labels satisfies |X|(κ1)g(κ).

Finding a vertex separator of size at most g(κ) can be done in time |X|g(κ). Since T contains at most 2κ1 nodes, this operation is performed at most 2κ1 times. Hence the total running time for constructing T is (2κ1)|X|g(κ). Since XX, the set X admits a partition into at most κ cliques. As |X|(κ1)g(κ), one can find such a partition by brute force in time κ(κ1)g(κ), by enumerating all partitions of X into κ (possibly empty) parts. Finally, note that the leaf labels of T, together with the clique partition of X, yield a partition of X into at most 2κ parts, each of them being either a clique or g(κ)-connected.

Applying Claim 11 to each Vi0 yields a refined partition of V(G) into at most 2κ subsets per class, each of which induces a clique or a g(κ)-connected subgraph. Let 𝒫 denote the resulting partition of V(G), and consider the contraction G𝒫.

Since each Vi0 was replaced by at most 2κ subsets, G𝒫 has maximum degree at most Δ:=(Δ+1)2κ. Moreover, its treewidth remains O(n11/d), since κ is a constant.

Finally, fix λ>Δ as large as desired (but constant), and fix g(κ) large enough such that g(κ)max(κ+3,10)3λ. Then each part of 𝒫 is either a clique or Hamiltonian λ-linked by Lemma 8, which proves the theorem.

Note that 𝒫 can be computed in polynomial time: the partition 𝒫0 is obtained in polynomial time, and by Claim 11, the refinement of each Vi0𝒫0 can also be computed in polynomial time. Moreover, a tree decomposition of G𝒫 of treewidth O(n11/d) can be obtained from a tree decomposition of G𝒫0 by replacing each vertex Vi0 with the vertices of its refinement in 𝒫. Since the treewidth remains O(n11/d), such a decomposition can be computed in time 2O(n11/d).

 Remark 12.

Given a graph G, the partition 𝒫=(V1,,Vt) of V(G) obtained in Theorem 10 is a refinement of the partition 𝒫0 obtained from Theorem 5. By Remark 6, in any representation 𝒪={Ov}vV(G) of G with similarly sized β-fat objects in d, two objects Ou and Ov are at distance at most 2β whenever u,vVi for some 1it.

3.2 The Algorithm

We begin by adopting the technique introduced by Ito and Kadoshita, who observed that when looking for a Hamiltonian cycle in a graph G admitting a clique partition 𝒫 such that the 𝒫-contraction has bounded degree, it is sufficient to consider only a constant number of vertices from each clique. In particular, they proved that there always exists a Hamiltonian cycle that uses only a bounded number of edges between any two fixed cliques of the partition.

Lemma 13 ([9, Lemmas 3.2 and 3.3]).

Let G be a graph and 𝒫=(Q1,,Qt) a clique partition of G such that G𝒫 has maximum degree Δ. There is a family {Ei,j}1i<jt of edge sets such that the two following points hold:

  1. (i)

    for every i,j such that 1i<jt, Ei,jE(G)(Qi×Qj) and |Ei,j|4(2Δ1)2;

  2. (ii)

    G admits a Hamiltonian cycle if and only if it admits a Hamiltonian Cycle C that, for every i,j as above, uses at most two edges from (Qi×Qj), all belonging to Ei,j.

Moreover, the sets {Ei,j} can be computed in polynomial time.

In addition, we will use as a black box the FPT algorithms for Hamiltonian Path and Hamiltonian Cycle, both running on a graph G in time 2O(tw(G))|G|O(1), where tw(G) denotes the treewidth of G.

Theorem 14 ([1, 3]).

Given a graph G together with a tree decomposition of width w, there exists an algorithm that solves Hamiltonian Cycle in time 2O(w)nO(1).

We are now ready to prove the main result of this section.

Figure 2: Illustration of the proof of Theorem 1, when turning a Hamiltonian cycle C in H (left) to a Hamiltonian cycle in G (right), focusing on a part Vi. In both figures, the grey box represents the set Vi, and the blue box represents the (partial) Hamiltonian cycle going through Vi. Left: C uses blue edges to enter and leave Vi, and uses edges from G as well as red edges inside Vi (notice that we only represented the red edges which are used by C). Right: since G[Vi] is Hamiltonian-λ-linked, the (si,ti)-paths which were using red edges in H can be replaced by actual paths in G.

Proof of Theorem 1.

We give here an algorithm for Hamiltonian Cycle and explain at the end how to obtain that for Hamiltonian Path. According to Theorem 10, for some constants Δ and λ with Δ<λ we can compute a λ-linked partition 𝒫=(V1,,Vt) of G and a tree decomposition of G𝒫 in time 2O(n11/d). In order to be able to apply Lemma 13, we define G× as the graph obtained by turning each Vi into a clique (i.e., by adding all missing edges inside each Vi). We call the edges of E(G×)E(G) the red edges.

Compute the edge sets {Ei,j}1i<jk from Lemma 13, and call these blue edges. Let H be the graph obtained from G× by removing every vertex not incident to a blue edge, except for one special vertex vi per part Vi (if such a vertex exists). Denote by ViH the set of vertices of Vi that remain in H. Since G𝒫 has maximum degree at most Δ, at most 4Δ(2Δ1)2 vertices from each Vi are incident to blue edges, so |ViH|4Δ(2Δ1)2+1. Observe that H is a subgraph of the lexicographic product of G𝒫 with a clique of constant size (depending on d only), hence its treewidth is O(n11/d).

We now prove that G admits a Hamiltonian cycle if and only if H does.

Suppose that G has a Hamiltonian cycle. Then so does G× as it is a supergraph of G. By Lemma 13, G× admits a Hamiltonian cycle C that uses at most two blue edges between any Vi and Vj, that belong to Ei,j. Removing from C any vertex vViViH preserves Hamiltonicity in H (as ViH is a clique in H, and the neighbors of v in C must belong to Vi, otherwise v would be adjacent to a blue edge), hence H has a Hamiltonian cycle.

Conversely, suppose that H has a Hamiltonian cycle C. We reconstruct a Hamiltonian cycle of G as follows. For each i[t], if G[Vi] is a clique, we can insert the missing vertices of ViViH along C. Indeed, if ViH contains a special vertex vi, then C must contain an edge uvi with uVi, and thus all vertices of ViViH can be inserted between u and vi in C. If ViH do not contain a special vertex, then ViH=Vi and C already contain all vertices of Vi.

If instead G[Vi] is Hamiltonian-λ-linked, fix an orientation of C and let s1,,sm be the vertices of Vi where C enters Vi, and t1,,tm where it exits. Observe that 2m2Δ as one can map each sj (resp. tj) to the unique blue edge that C uses to enter (resp. exit) ViH, and C uses at most 2Δ blue edges adjacent to ViH (at most two blue edges per adjacent part of Vi in G𝒫). Since G[Vi] is Hamiltonian-λ-linked with λ>Δ, there exist m vertex-disjoint paths in G[Vi] covering Vi and connecting each sj to tj. Replacing the subpaths of C within Vi by these paths yields a Hamiltonian cycle of G. See Figure 2 for an illustration.

To sum up, we reduced the problem to that of deciding whether H has a Hamiltonian cycle. Recall that H has treewidth O(n11/d). This can be done in time 2O(n11/d) using Theorem 14 on the tree decomposition of H computed above. Each local reconstruction inside a part Vi can be carried out using the algorithm of Lemma 8 in polynomial time.

With minor adjustments, Lemma 13 also applies to the Hamiltonian Path problem. More precisely, if G admits a Hamiltonian path, one can construct a graph G by adding a special edge between the two endpoints of that path. The resulting graph G admits a clique partition of bounded degree, and thus Lemma 13 applies to it. The Hamiltonian cycle obtained in G may include the special edge; removing this edge then yields a Hamiltonian path in the original graph G. Then, the very same proof carries over to Hamiltonian Path, yielding an algorithm with identical running time.

4 A Subexponential FPT algorithm for Long Path

This section is dedicated to the proof of Theorem 2. We first present a low-treewidth pattern covering technique adapted to geometric graphs, and then solve the Long Path problem using both this technique with λ-linked partitions.

4.1 Low-Treewidth Pattern Covering

We say that a graph class 𝒢 has growth at most f if for every G𝒢 and vV(G), the ball BG(v,r) contains at most f(r) vertices. The next lemma shows that intersection graphs of similarly sized fat objects of bounded maximum degree have growth at most a polynomial function.

Lemma 15.

For every constants d2, β1 and Δ>0, any intersection graph of similarly sized β-fat objects in d has growth O(rd).

Proof.

Let {Ov}vV(G) be a representation of G with similarly sized β-fat objects in d. Let vV(G). Observe than since the object associated to every neighbor of v intersects Ov, and these objects are β-fat, there is a d-dimensional hypercube of side length 6β that delimits a region containing the objects of v and all its neighbors. More generally for any integer r1, all the vertices at distance at most r from v in G have their objects in the region of d enclosed by a d-dimensional hypercube of side length cβr, for some constant cβ depending only on β.

This hypercube can be partitioned into at most cβdrd smaller hypercubes of unit side length. Since the objects are β-fat, the object Ou associated to each uV(G) contains a ball of radius 1. Let us denote by zu the center of such a ball. Observe that if a smaller hypercube contains zu and zu for some u,uV(G), then Ou and Ou intersect and so u and u are adjacent. Hence each such smaller hypercube contains at most Δ+1 points of the form zu for uV(G) (whose associated vertices form a clique of order at most Δ+1). Therefore, the ball BG(v,r) contains at most cβd(Δ+1)rd vertices, as claimed.

 Remark 16.

As a consequence of the previous lemma and the algorithm of [12], there exists a randomized algorithm that solves Long Path in time 2O(n11/(d+1)) in intersection graphs of similarly sized fat objects in d, provided that the maximum degree is constant.

We will use the following lemma showing that in graphs of polynomial growth, one can select a subset of vertices inducing connected components of radius O(klogk) and that has good probability of containing an unknown subset XV(G) of size at most k.

Lemma 17 ([12, Lemma 2.1]).

Let 𝒢 be a graph class of growth O(rδ). There exists a constant c>0 and a polynomial-time randomized algorithm that, given G𝒢 and an integer k4, outputs a subset AV(G) satisfying:

  1. 1.

    every connected component of G[A] has radius at most cklogk;

  2. 2.

    for every set XV(G) of size at most k, the probability that XA is at least 17256.

We then give a low-treewidth pattern covering lemma for intersection graphs of similarly sized fat objects and bounded maximum degree, with diameter polynomial in k. The proof, available in the long version, follows essentially the same clustering procedure as in [12]. Roughly speaking, the idea is to construct a collection of disjoint clusters in the graph, where each cluster induces a subgraph of small treewidth, and then add a small number of vertices that are adjacent to these clusters in order to ensure connectivity between them. The main difference with [12] lies in the analysis of the treewidth of the clusters, which can be improved in the case of geometric graphs.

Lemma 18 (✂).

For every constants d2, β1, Δ1 and c>0, there exists a constant c>0 and a polynomial-time randomized algorithm that, given k4 and a connected intersection graph G of similarly-sized β-fat objects in d of maximum degree Δ and radius at most cklogk, outputs a subset AV(G) such that:

  1. 1.

    the treewidth of G[A] is O(k11/dlogk);

  2. 2.

    for every set XV(G) of size at most k, the probability that XA is at least 2c(|X|+k)k1/dlog2k.

4.2 Robust Subexponential FPT algorithm for Long Path

Recall that there exists an algorithm solving Long Path and Long Cycle in subexponential FPT time 2O(k)nO(1) in unit-disk graphs [16], and that this running time is tight under the Exponential Time Hypothesis (ETH). The approach to obtain this algorithm is very similar that used to obtain a subexponential algorithm running in time 2O(n).

The key idea is to view G as a clique-grid graph. Informally, a clique-grid graph is a graph equipped with a mapping f:V(G)[t]2 such that, for all (i,j)[t]2, the preimage f1(i,j) induces a clique, and edges between vertices in f1(i,j) and f1(i,j) exist only if the distance between the cells (i,j) and (i,j) is less than a fixed constant. The algorithm can then be seen as consisting of two main steps:

  1. (i)

    marking a constant number of vertices in each clique such that the path only traverses the cliques via these marked vertices, and

  2. (ii)

    applying bidimensionality techniques to solve a weighted version of Long Path on the subgraph induced by the marked vertices in time 2O(k)nO(1).

The mapping f is straightforward to obtain when a geometric representation of the underlying objects is available. However, at the time of writing, it is not know how to do so without the representation. Importantly, the marking scheme does not fundamentally rely on G being a clique-grid graph, but only on the existence of a clique partition 𝒫 such that G𝒫 has bounded degree. The following lemma is a straightforward rewriting of the marking scheme of [16]. It can be viewed as a generalization of Lemma 13, which additionally handles the case where the path is not necessarily Hamiltonian.

Lemma 19 (Reformulation of [16, Lemma 14]).

Let G be a graph and 𝒫=(Q1,,Qt) a clique partition of G such that the 𝒫-contraction G𝒫 has degree at most Δ. There exists a family of vertex subsets {𝖬(i)}1it with 𝖬(i)Qi for every i{1,,t} and satisfying the following property. If G contains a path with k vertices, then it also contains a path P with endpoints x,y such that, for every 1it,

  1. 1.

    either V(P)Qi, or

  2. 2.

    V(P)(Qi𝖬(i))=, or

  3. 3.

    there exist distinct vertices u,v(V(P)𝖬(i))({x,y}Qi) such that the set of internal vertices of the subpath of P between u and v is precisely

    (V(P)Qi)(𝖬(i){u,v}).

In addition, 𝖬 can be computed in polynomial time, and |𝖬(i)|=ΔO(1) for any 1it.

In the Weighted Long Path problem, the input is a graph G, a weight function w:V(G) and an integer W, and the goal is to find a path (u1,,uq) in G (q>0), such that i[q]w(ui)W. Adapting the classical dynamic programming algorithm for Long Path on graphs with bounded treewidth [2], we can obtain the following result.

Proposition 20 (see [2]).

Weighted Long Path is solvable in time 2O(w)nO(1) on n-vertex graphs of treewidth at most w.

We are now ready to prove the main result of this section.

Figure 3: Illustration of the five graphs of the proof of Theorem 2.

Proof of Theorem 2.

We begin by computing, in polynomial time, the λ-linked partition 𝒫=(V1,,Vt) guaranteed by Theorem 10, such that G𝒫 has maximum degree Δ, for some constants λ and Δ such that Δ<λ. Let G× denote the graph obtained from G by turning each Vi into a clique, that is, by adding all missing edges inside each Vi. Again, the edges in E(G×)E(G) are called red edges.

We apply Lemma 19 to the pair (G×,𝒫), yielding the marking function 𝖬 defined on V(G×). From this, we build the weighted graph H as follows: for each 1it, let Ui:=Vi𝖬(i), and contract all vertices in Ui into a single vertex vi with weight wi:=|Ui|. Whenever Ui, define Qi:=𝖬(i){vi}. If Ui=, do not create vertex vi and define Qi:=𝖬(i). All remaining vertices (the marked ones) receive weight 1. Note that Qi is a clique in H for all 1it.

We now define two auxiliary graphs derived from H:

  1. 1.

    H is obtained from H by deleting every edge viu with uVj and ji.

  2. 2.

    H× is obtained from H by adding, for every 1i<jt, all edges between Qi and Qj whenever there exists an edge uvE(H) with uQi and vQj. Note that, for any u,vQi, u and v are true twins in H×, meaning that NH×[u]=NH×[v]. Moreover, H is a subgraph of H×.

See Figure 3 for an illustration of the graphs G, G×, H, H and H×. We first prove that H× is the intersection graph of similarly sized fat objects in d.

Claim 21.

There exist constants β and Δ such that H× is the an intersection graph of similarly-sized β-fat objects in d, and has maximum degree at most Δ.

Proof.

Let 𝒪={Ov}vV(G) be a geometric representation of G with d-dimensional similarly sized β-fat objects. For each i, let Oi=vViOv. Since Vi is λ-linked, the diameter of Oi is bounded by O(β) by Remark 12, and Oi contains a ball of radius 1 (as each Ov does). We represent every vertex uQi by the same object Oi.

Note that for each 1it, the objects representing Qi pairwise intersect, since they are all represented by the same geometric object. Moreover, for any 1i<jt, the objects Oi and Oj intersect whenever there exist vertices uVi and vVj such that Ou and Ov intersect. It follows that H× is indeed the intersection graph of {Ou:uV(H×)}. In addition, its degree is bounded by Δ=ΔO(1), as each Oi intersects only a bounded number of other regions corresponding to adjacent parts in G𝒫.

We now show that G has a long path if and only if H does.

Claim 22.

G has a path on at least k vertices if and only if H has a weighted path of total weight at least k. Moreover, given such a path in H, one can construct a path in G with at least the same number of vertices in polynomial time.

Proof.

Suppose that G contains a path P on k vertices with endpoints x and y. Since G is a subgraph of G×, P is also a path in G×. By Lemma 19, P can be modified into a path P such that for each i, P contains all vertices in (V(P)Vi)𝖬(i) consecutively along P, and we call Pi such a subpath. By contracting each such Pi into a single vertex vi, we obtain a path PH in H whose total weight equals |V(P)|k.

Conversely, let PH be a weighted path in H of total weight at least k. For each contracted vertex vi of weight wi, we expand it into an arbitrary path of wi distinct vertices from Ui. The two vertices (if they exist) adjacent to vi in PH must belong to 𝖬(i) by definition of H, so the resulting expanded path P exists in G× and has at least k vertices.

It remains to transform the path P in G× into a path in G. Currently, P may use red edges inside some Vi that is not a clique in G, but each G[Vi] is Hamiltonian λ-linked. Fix i such that G[Vi] is Hamiltonian λ-linked, and let s1,,sm be the vertices of Vi where P enters Vi, and t1,,tm the vertices where it exits. Since P must enter and exit through marked vertices, we have m=ΔO(1). If λ is chosen so that λ>m, there exist m vertex-disjoint paths {Pi,j}1jm covering all vertices of Vi, each connecting sj to tj. Replacing each subpath between sj and tj in P by Pi,j yields a new path with at least the same number of vertices, and without using red edges. Performing this replacement for every part Vi such that G[Vi] is Hamiltonian λ-linked yields a path on at least k vertices in G. This construction can be carried out in polynomial time by Lemma 8.

We now describe the algorithm. Suppose that G has a path P with k vertices. We apply successively Lemma 17 and Lemma 18 to H× (which, by the previous claim, is the intersection of similarly-sized fat objects in d, and has bounded maximum degree) to obtain a set AV(H×) such that:

  1. 1.

    the treewidth of H×[A] is O(k11/dlogk);

  2. 2.

    with probability at least 2O(k11/dlog2k), we have V(P)A.

Since H is a subgraph of H×, H[A] also has treewidth O(k11/dlogk). Then, one can find a path on k vertices in H[A] using Proposition 20 in time 2O(k11/dlogk)nO(1). Repeating this process 2O(k11/dlog2k) times ensures constant success probability. If a path on k vertices is found in H, we construct in polynomial time a path on k vertices of G using Claim 22. If no such path is found after all repetitions, the algorithm reports that G has no path on k vertices.

5 Conclusion

In this paper we have presented a robust algorithm for solving Hamiltonian Path and Hamiltonian Cycle in intersection graphs of similarly sized fat objects in d in time 2O(n11/d), which is tight under ETH. In addition, we extended our method to obtain a robust randomized FPT algorithm for Long Path, running in time 2O(k11/dlog2k). We conclude with two open questions:

  • Is it possible to remove the log2k factor in the exponent of our algorithm for Long Path, and to make the algorithm deterministic?

  • Our method does not directly yield a robust subexponential FPT algorithm for Long Cycle. Is it possible to obtain one using a different approach?

References

  • [1] Hans L. Bodlaender, Marek Cygan, Stefan Kratsch, and Jesper Nederlof. Deterministic single exponential time algorithms for connectivity problems parameterized by treewidth. Information and Computation, 243:86–111, 2015. doi:10.1016/J.IC.2014.12.008.
  • [2] Marek Cygan, Fedor V. Fomin, Łukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michał Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 1 edition, 2015. doi:10.1007/978-3-319-21275-3.
  • [3] Marek Cygan, Jesper Nederlof, Marcin Pilipczuk, Michal Pilipczuk, Joham MM van Rooij, and Jakub Onufry Wojtaszczyk. Solving connectivity problems parameterized by treewidth in single exponential time. In 2011 IEEE 52nd Annual Symposium on Foundations of Computer Science, pages 150–159. IEEE, 2011.
  • [4] Mark de Berg, Hans L. Bodlaender, Sándor Kisfaludi-Bak, Dániel Marx, and Tom C. van der Zanden. A framework for ETH-tight algorithms and lower bounds in geometric intersection graphs. SIAM Journal on Computing, 49(6):1291–1331, 2020.
  • [5] Thomas Erlebach, Klaus Jansen, and Eike Seidel. Polynomial-time approximation schemes for geometric intersection graphs. SIAM Journal on Computing, 34(6):1302–1323, 2005. doi:10.1137/S0097539702402676.
  • [6] Fedor V. Fomin, Petr A Golovach, Nikola Jedličková, Jan Kratochvíl, Danil Sagunov, and Kirill Simonov. Path cover, hamiltonicity, and independence number: An FPT perspective. arXiv preprint, 2024. arXiv:2403.05943.
  • [7] Fedor V. Fomin, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michał Pilipczuk, and Saket Saurabh. Subexponential parameterized algorithms for planar and apex-minor-free graphs via low treewidth pattern covering. In 2016 IEEE 57th Annual Symposium on Foundations of Computer Science (FOCS), pages 515–524. IEEE, 2016. doi:10.1109/FOCS.2016.62.
  • [8] Fedor V. Fomin, Daniel Lokshtanov, Fahad Panolan, Saket Saurabh, and Meirav Zehavi. Finding, hitting and packing cycles in subexponential time on unit disk graphs. Discrete & Computational Geometry, 62(4):879–911, 2019. doi:10.1007/S00454-018-00054-X.
  • [9] Hiro Ito and Masakazu Kadoshita. Tractability and intractability of problems on unit disk graphs parameterized by domain area. In Proceedings of the 9th International Symposium on Operations Research and Its Applications (ISORA10), pages 120–127, 2010.
  • [10] Ross J Kang and Tobias Müller. Sphere and dot product representations of graphs. In Proceedings of the twenty-seventh annual symposium on Computational geometry, pages 308–314, 2011. doi:10.1145/1998196.1998249.
  • [11] Tomohiro Koana, Nidhi Purohit, and Kirill Simonov. Subexponential Algorithms for Clique Cover on Unit Disk and Unit Ball Graphs. In Édouard Bonnet and Paweł Rzążewski, editors, 19th International Symposium on Parameterized and Exact Computation (IPEC 2024), volume 321 of Leibniz International Proceedings in Informatics (LIPIcs), pages 10:1–10:17, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.IPEC.2024.10.
  • [12] Dániel Marx and Marcin Pilipczuk. Subexponential Parameterized Algorithms for Graphs of Polynomial Growth. In Kirk Pruhs and Christian Sohler, editors, 25th Annual European Symposium on Algorithms (ESA 2017), volume 87 of Leibniz International Proceedings in Informatics (LIPIcs), pages 59:1–59:15, Dagstuhl, Germany, 2017. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ESA.2017.59.
  • [13] Imran A Pirwani and Mohammad R. Salavatipour. A weakly robust PTAS for minimum clique partition in unit disk graphs. Algorithmica, 62(3):1050–1072, 2012. doi:10.1007/S00453-011-9503-8.
  • [14] Frank van den Eijkhof, Hans L Bodlaender, and MC Arie Koster. Safe reduction rules for weighted treewidth. Algorithmica, 47(2):139–158, 2007. doi:10.1007/S00453-006-1226-X.
  • [15] Jie Xue and Meirav Zehavi. Parameterized algorithms on geometric intersection graphs. Computer Science Review, 58:100796, 2025. doi:10.1016/J.COSREV.2025.100796.
  • [16] Meirav Zehavi, Fedor Fomin, Daniel Lokshtanov, Fahad Panolan, and Saket Saurabh. ETH-tight algorithms for long path and cycle on unit disk graphs. Journal of Computational Geometry, 12(2):126–148, April 2022. doi:10.20382/JOCG.V12I2A6.