1 Introduction

Independent Set and Dominating Set are fundamental optimization problems on graphs. Given a graph G where each vertex v has a weight \({\mathbf {w}}(v)\), in Independent Set one seeks to find a vertex subset \(I\subseteq V(G)\) of maximum possible weight such that no two vertices in I are adjacent, whereas in Dominating Set one searches for a vertex subset D of minimum possible weight such that each vertex \(v\in V(G)\) is contained in D or adjacent to a vertex in D. Even in the unit-weight setting, both problems are notoriously hard to approximate and they are also \({\mathsf {W}}[1]\)-hard, i.e., we do not expect that they admit fixed-parameter tractable (fpt) algorithms running in time \(f(k)\cdot n^{{\mathcal {O}}(1)}\), where k is the expected solution size.

Therefore, special cases of the problems were investigated, for instance the case where the input graph is planar. On planar graphs, classic layering techniques can be applied to show that both problems admit EPTASs, i.e., \((1+\epsilon )\)-approximation algorithms with a running time of \(f(1/\epsilon )n^{{\mathcal {O}}(1)}\) for some function f, and fpt algorithms for the parameterization by the solution size, i.e., for a parameter k, algorithms running in time \(f(k)n^{{\mathcal {O}}(1)}\) that find a best solution among those of size at most k. Given these results, it is natural to consider generalizations of the above problems on planar graphs.

In this paper we study the Distance Independent Set and the Distance Dominating Set problems. Given additionally a value \(r\in {\mathbb {R}}\) and lengths for the edges of G, in the Distance Independent Set problem we require that any two selected vertices in I are at distance larger than r from each other, and in the Distance Dominating Set problem we require that each vertex \(v\in V(G)\) is at distance at most r from some vertex of D. Let us stress that we assume that r is part of the input and in particular not assumed to be a constant; in fact, for constant r and unit edge lengths, it is well-known that the same layering techniques easily yield EPTASs and fpt algorithms on planar graphs. In the parameterized setting, both problems are \({\mathsf {W}}[1]\)-hard even for unit weights and unit edge-lengths; however, the trivial \(n^{{\mathcal {O}}(k)}\)-time algorithms can be improved to \(n^{{\mathcal {O}}(\sqrt{k})}\)-time algorithms [5]. These parameterized algorithms extend a technique originally developed to design quasi-polynomial time approximation schemes (QPTASs) for Independent Set and Dominating Set in the geometric (Euclidean) setting [1, 2, 4]. The idea is to guess a sparse separator that has only small intersection with the optimal solution and that splits the problem into two roughly equal-sized subproblems, and then to solve the subproblems recursively. The natural question arises whether one can transfer the insights obtained in the parameterized setting back to approximation algorithms, and obtain approximation schemes for Distance Independent Set and Distance Dominating Set in planar graphs.

Our contribution. In this paper we show that this is indeed possible and we present the first quasi-polynomial time approximation schemes for Distance Independent Set and Distance Dominating Set on planar graphs when r is part of the input. In fact, we give QPTASs for two even more general problems, which we name Maximum Weight Independent Set of Objects (MWISO) and Minimum Weight Distance Set Cover (MWDSC). In MWISO we are given a graph G and a family \({\mathcal {D}}\) of objects, each being a connected subgraph of G with a prescribed weight, and the goal is to find a maximum-weight subfamily of \({\mathcal {D}}\) consisting of pairwise disjoint objects. In MWDSC we are given an graph G and a length for each of its edges, subsets of vertices \({\mathcal {D}}\) and \({\mathcal {C}}\) where vertices of \({\mathcal {D}}\) are weighted, and radius \(r\in {\mathbb {R}}\). The goal is to find a minimum-weight subset \({\mathcal {F}}\subseteq {\mathcal {D}}\) that r-covers\({\mathcal {C}}\) in the sense that each vertex of \({\mathcal {C}}\) is at distance at most r from some vertex of \({\mathcal {F}}\). MWISO generalizes Distance Independent Set by taking \({\mathcal {D}}\) to be the family \(\{\{v:{\text {dist}}(u,v)\le r/2\}:u\in V(G)\}\) of all balls of radius r / 2 in the graph, after subdividing the edges appropriatelyFootnote 1. MWDSC generalizes Distance Dominating Set by taking \({\mathcal {C}}=V(G)\). The following statements summarize our results.

Theorem 1

TheMaximum Weight Independent Set of Objectsproblem in planar graphs admits a QPTAS with running time\(2^{{\mathrm {poly}}(1/\epsilon ,\log N)}\cdot n^{{\mathcal {O}}(1)}\), wherenis the vertex count of the input graph and\(N=|{\mathcal {D}}|\)is the number of objects in the input.

Theorem 2

TheMinimum Weight Distance Set Coverproblem in planar graphs admits a QPTAS with running time\(2^{{\mathrm {poly}}(1/\epsilon ,\log N)}\cdot n^{{\mathcal {O}}(1)}\), wherenis the vertex count of the input graph and\(N=|{\mathcal {D}}|\)is the number of vertices allowed to be selected to the solution.

We remark that it is possible to derive Theorem 1 via a reduction to the Maximum Weight Independent Set of Polygons problem (see below) and then applying the known QPTAS [4] for this problem. However, our main focus in this paper is to transfer the machinery developed in [1, 2, 4] for optimization problems in geometric settings to problems in planar graphs. The heart of our technical contribution is to show that for any instance of the above problems there is a set of candidate separators of polynomial size such that one of them splits the given problem in a balanced way and intersects only a tiny fraction of the given solution. The latter is important since the intersected objects will be lost (in the case of MWISO) or might be paid twice (in the case of MWDSC) and hence we need to bound their total weight by \(\epsilon {\mathrm {OPT}}\). We state here an informal version of our separator lemma for the case of MWISO.

Lemma 1

(Informal) In polynomial time we can compute a set\({\mathbb {X}}\subseteq 2^{{\mathcal {D}}}\)of separators such that for every solution\({\mathcal {F}}\subseteq {\mathcal {D}}\), say of weightW, there exists\({\mathcal {X}}\in {\mathbb {X}}\)such that\({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {X}})\le \epsilon W\)and in the intersection graph of\({\mathcal {D}}-{\mathcal {X}}\)each connected component\({\mathcal {C}}\)satisfies\({\mathbf {w}}({\mathcal {C}}\cap {\mathcal {F}})\le \frac{9}{10}W\).

Using Lemma 1 as abstraction for finding separators, we can apply the same recursive scheme as [1, 2, 4]: we guess the correct separator \({\mathcal {X}}\in {\mathbb {X}}\), construct a subproblem for each connected component of the intersection graph of \({\mathcal {D}}-{\mathcal {X}}\), and recurse in each of them up to recursion depth \({\mathcal {O}}(\log |{\mathcal {D}}|)\). Thus, the only part of the reasoning that uses planarity is Lemma 1.

The proof of Lemma 1 follows the reasoning of Har-Peled [4]. The idea is to prove the following auxiliary result: for the optimal solution \({\mathcal {F}}\) (and in fact for any feasible solution) there exists a separator of length roughly \(s={\mathcal {O}}(\frac{1}{\epsilon }\ln \frac{1}{\epsilon })\) that cuts through at most an \(\epsilon \)-fraction of the weight of \({\mathcal {F}}\) and splits the weight of \({\mathcal {F}}\) in a balanced way. Lemma 1 then follows by enumerating all candidates for such separators. In [4], the separator was simply a polygon with roughly s vertices. We lift this concept to planar graphs using Voronoi separators as in the work of Marx and Pilipczuk [5]. Intuitively, a Voronoi separator of length r is an alternating cyclic sequence of r objects from \({\mathcal {D}}\) and r faces of the graph, connected by shortest paths in order to form a closed curve; this curve splits the instance into two subinstances. Thus, shortest paths in the graph are the analogues of segments in the plane.

The auxiliary result is proved in [4] by showing that if \({\mathcal {S}}\) is a sample of size roughly \(s^{2}\) from \({\mathcal {F}}\), where each object is sampled independently with probability proportional to its weight, then a balanced separator of length s in the Voronoi diagram of \({\mathcal {S}}\) satisfies all the required properties with high probability. We follow the same reasoning; however, again we need to properly understand how geometric concepts used in [4] — spokes and corridors — should be interpreted in planar graphs. Here, the technical toolbox for Voronoi diagrams and Voronoi separators developed in [5] becomes very useful. In particular, it turns out that a fine understanding of what faces are candidates for branching points of a Voronoi diagram, provided in [5], is essential to make the probabilistic argument work. Let us remark that we also somewhat simplify the original argument of Har-Peled by replacing the Exponential Decay Lemma with a direct probabilistic calculation.

To give the QPTAS for MWDSC we provide a variant of Lemma 1 suitable for this problem and then follow a similar recursive scheme as for Theorem 1. It is nice that we can reuse the above-mentioned auxiliary result introduced for Lemma 1 as a black-box, so the proof of the variant is relatively short. As in [7], the difference is that in the recursion instead of removing the guessed separator we preserve it in all the recursive subcalls, thus allowing double-buying objects from it.

Geometric problems. The above recursive machinery based on balanced separators was first introduced for obtaining a QPTAS for Maximum Weight Independent Set of Rectangles in the two-dimensional plane [1] and then extended for getting QPTASs for Maximum Weight Independent Set of Polygons [2, 4] and Weighted Geometric Set Cover (WGSR) for pseudo-disks [7]. We prove that Theorems 1 and 2 generalize these results, with the exception that for WGSR we can treat only the cases of unit disks and axis-parallel unit squares, instead of general families of pseudo-disks. In “Appendix A” we explain how to derive the mentioned results from our theorems.

We would like to comment that it is possible to reduce MWISO to Maximum Weight Independent Set of Polygons and obtain a QPTAS for MWISO in this way: take the input graph and compute a straight line embedding for it. For each \(p\in {\mathcal {D}}\) compute a spanning tree \(T_p\) and define a polygon \(P_p\) that consists of the edges of \(T_p\). Now two polygons \(P_p, P_{p^{\prime}}\) overlap if and only if their corresponding objects \(p,p^{\prime}\) overlap. Applying the QPTAS for Maximum Weight Independent Set of Polygons [4] to the resulting instance thus yields a QPTAS for MWISO. However, we believe that our QPTAS for MWISO is simpler in the sense that it works with the planar graph directly. Also note that such an approach does not work for MWDSC.

2 Proof of the Separator Lemma for MWISO

In this section we prove the Separator Lemma for MWISO, which was informally stated as Lemma 1 and is formally stated below. For a family \({\mathcal {D}}\) of objects, \({\mathrm {IntGraph}}({\mathcal {D}})\) denotes the intersection graph of \({\mathcal {D}}\): graph with vertex set \({\mathcal {D}}\) where two objects are adjacent iff they intersect. The reader may think of \({\mathcal {F}}\) being the optimal solution and of W being its weight.

Lemma 2

(Separator Lemma for MWISO) LetGbe ann-vertex planar graph and\({\mathcal {D}}\)be a weighted family ofNobjects inG. Let\(0<\epsilon <\frac{1}{10}\)and denote\(s=10^3\cdot \frac{1}{\epsilon } \ln \frac{1}{\epsilon }\). Then there exists a family\({\mathbb {X}}\)consisting of subsets of\({\mathcal {D}}\)with the following properties:

  1. (A1)

    \(|{\mathbb {X}}|\le 6^{3s}N^{15s}\) and \({\mathbb {X}}\)can be computed in time\(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\); and

  2. (A2)

    for every real\(W\ge 0\)and subfamily\({\mathcal {F}}\subseteq {\mathcal {D}}\)of pairwise disjoint objects such that\({\mathbf {w}}({\mathcal {F}})\le W\)and\({\mathbf {w}}(p)\le s^{-2}W\)for each\(p\in {\mathcal {F}}\), there exist\({\mathcal {X}}\in {\mathbb {X}}\)such that\({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {X}})\le \epsilon W\)and for every connected component\({\mathcal {C}}\)of\({\mathrm {IntGraph}}({\mathcal {D}})-{\mathcal {X}}\)we have\({\mathbf {w}}({\mathcal {C}}\cap {\mathcal {F}})\le \frac{9}{10}W\).

The plan is as follows. We first recall the toolbox of Voronoi separators, introduced by Marx and Pilipczuk [5]. This allows us to state a stronger lemma, phrased as the existence of a short Voronoi separator appropriately breaking \({\mathcal {F}}\). We then show how Lemma 2 follows from this stronger result and subsequently prove the stronger result.

Before we proceed, let us set up the notation and basic assumptions about the input. Let G be the input graph. We assume the edges of G are assigned positive lengthsFootnote 2 so that we have the shortest-path metric in G: \({\text {dist}}(u,v)\) denotes the shortest length of a path connecting u and v in G. We may assume that G is given with an embedding in a sphere \(\varSigma \) and that it is triangulated; that is, every face of G is a triangle. Indeed, adding edges of infinite length to triangulate the graph neither distorts the metric nor spoils the connectivity of the objects. Also, for every face f of G we fix any internal point c to be its center, and for each vertex u of f we fix some curve within f with endpoints u and c to be the segment connecting u and c so that segments connecting vertices of f with c pairwise do not cross.

We assume that shortest paths are unique and the distances between pairs of vertices are pairwise different: for every pair of vertices uv there is a unique shortest path connecting u and v and for \(\{u,v\}\ne \{u^{\prime},v^{\prime}\}\) we have \({\text {dist}}(u,v)\ne {\text {dist}}(u^{\prime},v^{\prime})\). This can be ensured by using lexicographic tie-breaking rules and it increases the running time only by polynomial factors.

We are given a family \({\mathcal {D}}\) of objects in G, where each object \(p\in {\mathcal {D}}\) is a nonempty, connected subgraph of G. For any vertex u of G and any object \(p\in {\mathcal {D}}\), let \({\text {dist}}(u,p)\) be the length of the shortest path connecting u with any vertex of p. For each object \(p\in {\mathcal {D}}\), we fix any spanning tree T(p) of p. We also assume that the family \({\mathcal {D}}\) is weighted: every object \(p\in {\mathcal {D}}\) is assigned a nonnegative real weight \({\mathbf {w}}(p)\). For \({\mathcal {F}}\subseteq {\mathcal {D}}\) we denote \({\mathbf {w}}({\mathcal {F}})=\sum _{p\in {\mathcal {F}}} {\mathbf {w}}(p)\).

2.1 Basic Toolbox

Voronoi partitions and diagrams. A subfamily \({\mathcal {F}}\subseteq {\mathcal {D}}\) is independent if the objects in \({\mathcal {F}}\) are pairwise vertex-disjoint. Such an independent subfamily \({\mathcal {F}}\) induces the Voronoi partition\({\mathbb {M}}_{\mathcal {F}}\), which is a partition of the vertex set of G into \(|{\mathcal {F}}|\) parts according to the closest object from \({\mathcal {F}}\). Precisely, for \(p\in {\mathcal {F}}\), we say that a vertex u belongs to the Voronoi cell\({\mathbb {M}}_{\mathcal {F}}(p)\) if \({\text {dist}}(u,p)<{\text {dist}}(u,p^{\prime})\) for any \(p^{\prime}\in {\mathcal {F}}\), \(p^{\prime}\ne p\). Observe that ties do not happen due to distinctness of distances in G. We note that Marx and Pilipczuk consider in [5] a more general notion of a normal subfamily, but we do not need this generality here.

Fig. 1
figure 1

Construction of the Voronoi diagram. The left panel depicts the Voronoi partition, branching points of the diagram are depicted as solid (primal) triangular faces, edges of the diagram are dashed. The right panel depicts the Voronoi diagram alone; note that it is a planar 3-regular multigraph. Branching points of types 1, 2, and 3 are depicted in yellow, blue, and red, respectively. The figures are taken from [5] with consent of the authors; the left one is slightly modified (Color figure online)

Assuming \(|{\mathcal {F}}|\ge 4\), we define the Voronoi diagram induced by \({\mathbb {M}}_{\mathcal {F}}\) as follows; see Fig. 1 for a visualization. First, observe that every Voronoi cell \({\mathbb {M}}_{\mathcal {F}}(p)\), for \(p\in {\mathcal {F}}\), induces a connected subgraph of G that contains p entirely (see Lemmas 4.1 and 4.2 in [5]). Extend T(p) to a spanning tree \({\widehat{T}}(p)\) of \(G[{\mathbb {M}}_{\mathcal {F}}(p)]\) by adding, for each vertex u of \({\mathbb {M}}_{\mathcal {F}}(p)\) that is not in p, the shortest path from u to p. Take the dual of G and remove all the edges dual to the edges of \({\widehat{T}}(p)\), for all \(p\in {\mathcal {F}}\). Then exhaustively remove vertices of degree one, and finally replace each maximal path with internal vertices of degree 2 (so-called 2-path) by a single edge; the embedding of this edge is defined as the union of embeddings of edges of G comprising the original 2-path. Thus, we obtain a connected, 3-regular plane multigraph H, called the Voronoi diagram of \({\mathcal {F}}\), whose faces bijectively correspond to the cells \({\mathbb {M}}_{\mathcal {F}}(p)\) for \(p\in {\mathcal {F}}\). More precisely, every face of H is associated with a different object \(p\in {\mathcal {F}}\) so that all the vertices of \({\mathbb {M}}_{\mathcal {F}}(p)\) are contained in this face. The 3-regularity of H follows from the assumption that G is triangulated. From Euler’s formula it follows that if \(|{\mathcal {F}}|=k\), then H has k faces, \(2k-4\) vertices, and \(3k-6\) edges. See Lemmas 4.4 and 4.5 of [5] for a formal verification of these assertions, and Section 4.4 of [5] for a detailed description of the construction.

Branching points. If H is the Voronoi diagram of an independent subfamily \({\mathcal {F}}\subseteq {\mathcal {D}}\), then H is constructed from a subgraph of the dual of G by contracting maximal 2-paths. Hence, vertices of H correspond to faces of G. These primal faces, equivalently dual vertices, are called the branching points of the diagram H; intuitively, these are faces where the boundaries of Voronoi cells meet nontrivially. A priori, every face of G could be a branching point of the Voronoi diagram of some independent subfamily \({\mathcal {F}}\subseteq {\mathcal {D}}\). However, in [5] it is proved that the number of candidates for branching points can be bounded polynomially in \(|{\mathcal {D}}|\).

Theorem 3

(Theorem 4.7 of [5]) There exists a familyIof faces ofGwith\(|I|\le |{\mathcal {D}}|^4\)such that the following holds: for every independent subfamily of objects\({\mathcal {F}}\subseteq {\mathcal {D}}\), all branching points of the Voronoi diagram of\({\mathcal {F}}\)are contained inI. Moreover, Ican be computed in time polynomial in\(|{\mathcal {D}}|\)andn.

We fix the family I provided by Theorem 3 and call its members \({\mathcal {D}}\)-important faces of G.

Voronoi separators. We now recall the concept of Voronoi separators; see Fig. 4 for a visualization. A Voronoi separator is a sequence of the form

$$\begin{aligned} S=\langle p_1,u_1,f_1,v_1,p_2,u_2,f_2,v_2,\ldots ,p_r,u_r,f_r,v_r\rangle , \end{aligned}$$

where \(p_i\) are pairwise disjoint objects from \({\mathcal {D}}\), \(f_i\) are faces of G, and \(u_i,v_i\) are distinct vertices lying on the face \(f_i\). For each \(i\in \{1,\ldots ,r\}\), define \(P_i\) to be the shortest path from \(u_i\) to \(p_i\) and \(Q_i\) to be the shortest path from \(v_i\) to \(p_{i+1}\), where indices behave cyclically. For a Voronoi separator S as above, its length is r and its set of traversed objects is \({\mathcal {D}}(S)=\{p_1,\ldots ,p_r\}\).

In the notation above, an object \(q\in {\mathcal {D}}\) is banned by the separator S if either q intersects some object \(p\in {\mathcal {D}}(S)\), or there is a vertex w on some path \(P_i\) such that \({\text {dist}}(w,q)<{\text {dist}}(w,p_i)\), or there is a vertex w on some path \(Q_i\) such that \({\text {dist}}(w,q)<{\text {dist}}(w,p_{i+1})\). In particular, \({\mathcal {D}}(S)\) is banned by S. Let \(\mathrm {Ban}(S)\) denote the set of objects in \({\mathcal {D}}\) banned by S. Intuitively, the banned objects are those that are intersected by the separator and are lost when we recurse (in MWISO) or that might be selected and paid twice (in MWDSC). Therefore, we will later ensure that their total weight is small.

The following result is the aforementioned key step toward the proof of Lemma 2. It may be regarded as a lift of Theorem 4.22 from [5] or of Lemma 4.1 from [4] to our setting.

Lemma 3

LetWbe a positive real,\(0<\epsilon <\frac{1}{10}\), and\(s=10^3\cdot \frac{1}{\epsilon } \ln \frac{1}{\epsilon }\). Suppose\({\mathcal {F}}\subseteq {\mathcal {D}}\)is an independent subfamily of objects such that\(|{\mathcal {F}}|\ge 4\), \({\mathbf {w}}({\mathcal {F}})\le W\), and\({\mathbf {w}}(p)\le s^{-2}W\)for all\(p\in {\mathcal {F}}\). Then there exists a Voronoi separatorSsatisfying the following:

  1. (B1)

    \({\mathcal {D}}(S)\subseteq {\mathcal {F}}\)and all faces traversed bySare\({\mathcal {D}}\)-important;

  2. (B2)

    the length ofSis at most 3s;

  3. (B3)

    the total weight of objects of\({\mathcal {F}}\)banned bySis at most\(\epsilon W\);

  4. (B4)

    for every connected component\({\mathcal {C}}\)of\({\mathrm {IntGraph}}({\mathcal {D}})-\mathrm {Ban}(S)\), we have\({\mathbf {w}}({\mathcal {C}}\cap {\mathcal {F}})\le \frac{9}{10}W\).

It is not hard to see that Lemma 2 follows from Lemma 3: we simply enumerate all candidates for a Voronoi separator S satisfying (B1) and (B2). A straightforward estimate using Theorem 3 shows that there are at most \(6^{3s}N^{15s}\) candidates, and for each candidate S we add \(\mathrm {Ban}(S)\) to the constructed family \({\mathbb {X}}\).

Proof (of Lemma 2 assuming Lemma 3)

Let us inspect in how many ways a Voronoi separator S satisfying properties (B1) and (B2) can be selected. Since S has length at most 3s, there are at most \(N^{3s}\) ways to select the sequence of consecutive objects visited by S. Since every face traversed by S is \({\mathcal {D}}\)-important and there are at most \(N^4\)\({\mathcal {D}}\)-important faces in total, there are at most \(N^{12s}\) ways to select the sequence of consecutive faces visited by S. On each of these faces we need to pick a pair of different vertices as the entry and leaving point, giving 6 ways per faces, so at most \(6^{3s}\) in total. Thus, the separator S may be selected in at most \(6^{3s}N^{15s}\) different ways. Furthermore, since the set of \({\mathcal {D}}\)-important faces can be computed in polynomial time by Theorem 3, a family \({\mathcal {N}}\) of at most \(6^{3s}N^{15s}\) Voronoi separators satisfying (B1) and (B2) can be enumerated in time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\).

Now define the output family \({\mathbb {X}}\) as follows:

$$\begin{aligned} {\mathbb {X}}= \{{\mathrm {Ban}}(S):S\in {\mathcal {N}}\}. \end{aligned}$$

Clearly, \({\mathbb {X}}\) satisfies property (A1), whereas that it also satisfies property (A2) follows directly from Lemma 3, properties (B3) and (B4). \(\square \)

Thus, we are left with proving Lemma 3. The idea, borrowed from Har-Peled [4], is that we construct a sufficiently large random sample from \({\mathcal {F}}\), where the probability of picking each object is proportional to its weight. Then we inspect the Voronoi diagram induced by the sample and we argue that with non-zero probability it has a short separator giving rise to the sought Voronoi separator S. To implement this plan we need two ingredients: an appropriate lift of the sampling idea from [4] and the analysis of how separators in the Voronoi diagram give rise to Voronoi separators in the graph, which is essentially taken from [5] with some technical details added. These two ingredients are explained in the next two subsections.

2.2 Sampling

Spokes and diamonds. We first adjust technical notions used by Har-Peled [4] in the geometric context to our setting; see Fig. 5 for their visualization. Suppose we have an independent family of objects \({\mathcal {F}}\) and its Voronoi diagram \(H=H_{\mathcal {F}}\). Let f be any branching point of H and let u be any vertex of f. Let \(p\in {\mathcal {F}}\) be the object of \({\mathcal {F}}\) such that \(u\in {\mathbb {M}}_{\mathcal {F}}(p)\). The spoke of u in H is the shortest path from u to p in G; note all the vertices of this shortest path belong to the cell \({\mathbb {M}}_{\mathcal {F}}(p)\).

Consider any subfamily \({\mathcal {S}}\subseteq {\mathcal {F}}\) and let \(H_{\mathcal {S}}\) be the Voronoi diagram induced by \({\mathcal {S}}\); in the following, we consider spokes in the diagram \(H_{\mathcal {S}}\). For any spoke P in \(H_{\mathcal {S}}\), say connecting a vertex u with the object \(p\in {\mathcal {S}}\) satisfying \(u\in {\mathbb {M}}_{\mathcal {S}}(p)\), we say that P is in conflict with an object \(p^{\prime}\in {\mathcal {F}}\) if there is a vertex v on P such that \({\text {dist}}(v,p^{\prime})<{\text {dist}}(v,p)\). Note that this implies \(p^{\prime}\notin {\mathcal {S}}\), because the spoke P has to be entirely contained in \({\mathbb {M}}_{\mathcal {S}}(p)\). Define the weight of P with respect to \({\mathcal {F}}\) as the total weight of objects from \({\mathcal {F}}\) that are in conflict with P.

Further, suppose e is an edge of \(H_{{\mathcal {S}}}\), with endpoints \(f_1,f_2\) (not necessarily different). Let \(p_1,p_2\) be the objects of \({\mathcal {S}}\) corresponding to the faces of \(H_{{\mathcal {S}}}\) incident to e (possibly \(p_1=p_2\)). Let \(u_{1,1},u_{1,2}\) be the vertices of \(f_1\) such that \(u_{1,1}\in {\mathbb {M}}_{{\mathcal {S}}}(p_1)\), \(u_{1,2}\in {\mathbb {M}}_{{\mathcal {S}}}(p_2)\), and the edge \(u_{1,1}u_{1,2}\) of G crosses the edge e of \(H_{{\mathcal {S}}}\). Similarly pick vertices \(u_{2,1},u_{2,2}\) of \(f_2\). The diamond induced by e is the closed curve \(\varDelta _{{\mathcal {S}}}(e)\) on \(\varSigma \) formed by the union of: the segments connecting the center of \(f_1\) with \(u_{1,1}\) and \(u_{1,2}\), the unique path between \(u_{1,2}\) and \(u_{2,2}\) in \({\widehat{T}}(p_2)\), the segments connecting the center of \(f_2\) with \(u_{2,2}\) and \(u_{2,1}\), and the unique path between \(u_{2,1}\) and \(u_{1,1}\) in \({\widehat{T}}(p_1)\). The interior of \(\varDelta _{{\mathcal {S}}}(e)\) is the unique region of \(\varSigma {\setminus } \varDelta _{{\mathcal {S}}}(e)\) that contains e. The weight of \(\varDelta _{{\mathcal {S}}}(e)\) with respect to \({\mathcal {F}}\) is the total weight of objects of \({\mathcal {F}}\) that are entirely contained in the interior of \(\varDelta _{\mathcal {S}}(e)\); note that these objects do not belong to \({\mathcal {S}}\).

We remark that while spokes were used in [4] in the form roughly as above, diamonds correspond to the notion of a corridor from [4].

Sampling lemma: statement. We now state the crucial technical result: there is a bounded-size subfamily of the optimum solution that induces a Voronoi diagram where every spoke and every diamond has small weight. We will prove it using a probabilistic sampling argument.

Lemma 4

(Sampling lemma) SupposeWis a positive real and\({\mathcal {F}}\)is an independent, weighted family of objects inGsuch that\(|{\mathcal {F}}|\ge 4\)and\({\mathbf {w}}({\mathcal {F}})\le W\). Let\(\ell \ge 10\)be an integer such that\({\mathbf {w}}(p)\le \frac{W}{\ell }\)for each\(p\in {\mathcal {F}}\). Then there exists a subfamily\({\mathcal {S}}\subseteq {\mathcal {F}}\)with\(4\le |{\mathcal {S}}|\le 2\ell \)such that in the Voronoi diagram\(H_{\mathcal {S}}\), the weight with respect to\({\mathcal {F}}\)of every spoke and of every diamond is at most\(10\ln \ell \cdot \frac{W}{\ell }\).

Later, we will use Lemma 4 with \(\ell ={\mathcal {O}}((\frac{1}{\epsilon }\ln \frac{1}{\epsilon })^2)\). The reader may imagine that we then apply a balanced planar graph separator on the Voronoi diagram \(H_{\mathcal {S}}\) of size \({\mathcal {O}}(\sqrt{\ell })\) along which we partition \({\mathcal {F}}\) into two parts, yielding the Voronoi separator claimed by Lemma 3. Since the weight with respect to \({\mathcal {F}}\) of every spoke and every diamond is at most \(10\ln \ell \cdot \frac{W}{\ell }\), the total weight of the objects of \({\mathcal {F}}\) banned by S will be bounded by \(\epsilon W\).

Lemma 4 is a roughly an analogue of Lemma 3.3 from [4]. The main difference is that in the geometric setting, spokes and corridors have a simpler structure due to the fact that each branching point of the Voronoi diagram is defined by three objects from the solution — the three ones equidistant from it — so that the branching point is the meeting point of the three corresponding Voronoi regions. This is no longer the case in planar graphs, as observed in [5]. More precisely, out of the three regions around a branching point of the diagram, two or even three may be equal; this happens when there are bridges in the diagram, which is never the case in the geometric setting.

As part of their proof of Theorem 3, to understand these additional situations Marx and Pilipczuk define singular faces, which come in three types. The first one corresponds to “standard” branching points incident to three different regions, while the second and the third one correspond to branching points incident only to two, respectively one region.

Singular faces. For an independent triple of objects \({\mathcal {F}}_0=\{p_1,p_2,p_3\}\subseteq {\mathcal {D}}\), a face f of G is called a singular face of type 1 for \((p_1,p_2,p_3)\) if in \({\mathbb {M}}_{{\mathcal {F}}_0}\), all the vertices of f belong to different cells (note that there are three cells in \({\mathbb {M}}_{{\mathcal {F}}_0}\)). For an independent triple of objects \({\mathcal {F}}_0=\{p_1,p_2,p_3\}\subseteq {\mathcal {D}}\), a face f is called a singular face of type 2 for \((p_1,p_2,p_3)\) if in \({\mathbb {M}}_{{\mathcal {F}}_0}\), one vertex \(v_1\) of f belongs to \({\mathbb {M}}_{{\mathcal {F}}_0}(p_1)\), the other two vertices \(v_2,v_3\) of f belong to \({\mathbb {M}}_{{\mathcal {F}}_0}(p_2)\), and the closed walk W obtained by taking the union of the unique path in \({\widehat{T}}(p_2)\) between \(v_2\) and \(v_3\) and the edge \(v_2v_3\) on the boundary of f divides the plane into two regions, one containing \(p_1\) and one containing \(p_3\). Finally, for an independent quadruple of objects \({\mathcal {F}}_0=\{p_0,p_1,p_2,p_3\}\subseteq {\mathcal {D}}\), a face f is called a singular face of type 3 for \((p_0,p_1,p_2,p_3)\) if in \({\mathbb {M}}_{{\mathcal {F}}_0}\) all the vertices of f belong to \({\mathbb {M}}_{{\mathcal {F}}_0}(p_0)\), but the boundary of face f plus the minimal subtree of \({\widehat{T}}(p_0)\) spanning the vertices of f divides the plane into four regions: the face f itself, one region containing \(p_1\), one region containing \(p_2\), and one region containing \(p_3\). See Fig. 2 for a visualization.

Fig. 2
figure 2

Singular faces of types 1, 2, and 3, respectively. Shortest paths from the vertices of the face f to respective objects are depicted in gray. The figure is taken verbatim from [5], with the consent of the authors (Color figure online)

It appears that for a fixed triple or quadruple of objects, there are only few singular faces.

Lemma 5

(Lemmas 4.8, 4.9, and 4.10 of [5]) For each independent triple of objects\((p_1,p_2,p_3)\), there are at most 2 singular faces of type 1 for\((p_1,p_2,p_3)\), and at most 1 singular face of type 2 for\((p_1,p_2,p_3)\). For eachindependent quadruple of objects\((p_0,p_1,p_2,p_3)\), there is at most 1 singular face of type 3 for\((p_0,p_1,p_2,p_3)\).

The next statement explains the connection between branching points and singular faces.

Lemma 6

(Lemma 4.12 of [5]) Let\({\mathcal {F}}\subseteq {\mathcal {D}}\)be an independent subfamily of objects, and letHbe the Voronoi diagram of\({\mathcal {F}}\). Then every branching point ofHis either a type-1 singular face for some triple of objects from\({\mathcal {F}}\), or a type-2 singular face for some triple of objects from\({\mathcal {F}}\), or a type-3 singular face for some quadruple of objects from\({\mathcal {F}}\).

Actually, the two results above may be combined into a proof of Theorem 3. Lemma 6 shows that every branching point of the Voronoi diagram of an independent subfamily of \({\mathcal {D}}\) is among type-1, type-2, and type-3 singular faces for triples or quadruples of objects in \({\mathcal {D}}\), while using Lemma 5 we can bound their total number by \(|{\mathcal {D}}|^4\).

Sampling lemma: proof We now have all the tools needed to prove Lemma 4. Contrary to Har-Peled [4] we do not use the Exponential Decay Lemma, but direct probability calculations; this makes the proof somewhat conceptually easier. The main complications are due to the need to handling different types of singular faces, instead of just one.

Proof (of Lemma 4)

Denote \(\eta =10\ln \ell \cdot \frac{W}{\ell }\). First observe that if \({\mathbf {w}}({\mathcal {F}})\le \eta \), then setting \({\mathcal {S}}={\mathcal {F}}\) satisfies all the required properties, since no spoke may have larger weight than the whole of \({\mathcal {F}}\). Therefore, from now on we assume that \({\mathbf {w}}({\mathcal {F}})>\eta \).

Construct \({\mathcal {S}}\) by including every object \(p\in {\mathcal {F}}\) independently with probability \(q_p={\mathbf {w}}(p)\cdot \frac{\ell }{W}\); note that this value is at most 1 by the assumption of the lemma. Let X be the random variable equal to the cardinality of \({\mathcal {S}}\); then \(X=\sum _{p\in {\mathcal {F}}} X_p\), where \(X_p\) are indicator random variables, taking value 1 if p is included in \({\mathcal {F}}\) and 0 otherwise. Note that \({\mathbb {E}}[X_p] = q_p\) and \({\mathbb {E}}[X] = \sum _{p\in {\mathcal {F}}} {\mathbb {E}} [X_p]=\ell \cdot \frac{{\mathbf {w}}({\mathcal {F}})}{W}\le \ell \). Since X is a sum of independent indicator variables, standard concentration inequalities yield the following. \(\square \)

Claim 1

The probability that\(|{\mathcal {S}}|>2\ell \)or\(|{\mathcal {S}}|\le 4\)is at most\(\frac{7}{12}\).

Proof

Since \({\mathbb {E}}[X]\le \ell \), by Markov’s inequality we have that \(|{\mathcal {S}}|>2\ell \) happens with probability at most \(\frac{1}{2}\). Hence, it suffices to prove that the probability that \(|{\mathcal {S}}|\le 4\) is that most \(\frac{1}{12}\).

As \({\mathbf {w}}({\mathcal {F}})>\eta =10\ln \ell \cdot \frac{W}{\ell }\), we have

$$\begin{aligned} {\mathbb {E}}[X] = \ell \cdot \frac{{\mathbf {w}}({\mathcal {F}})}{W}>10\ln \ell >20. \end{aligned}$$

Since X is a sum of independent \(\{0,1\}\)-random variables with mean larger than 200, by Chernoff’s inequality we infer that

$$\begin{aligned} {\mathbb {P}}(X\le 4)\le \exp \left( -\frac{1}{2}\left( \frac{4}{5}\right) ^2\cdot 20\right) \le \frac{1}{12}. \end{aligned}$$

This concludes the proof of the claim. □

Call a spoke in the Voronoi diagram \(H_{\mathcal {S}}\)heavy if its weight with respect to \({\mathcal {F}}\) is more than \(\eta \). We now estimate the probability that there is a heavy spoke in \(H_{\mathcal {S}}\).

Claim 2

The probability that there is a heavy spoke in\(H_{\mathcal {S}}\)is at most\(\frac{1}{6}\).

Proof

Take any triple \(p_1,p_2,p_3\) of different objects from \({\mathcal {F}}\), and suppose f is a singular face of type 1 for \((p_1,p_2,p_3)\). Suppose further that P is one of the spokes incident to f in the Voronoi diagram of \(\{p_1,p_2,p_3\}\subseteq {\mathcal {F}}\), and assume that P is heavy with respect to \({\mathcal {F}}\). Let us estimate the probability of the following event A: \(p_1,p_2,p_3\) all belong to \({\mathcal {S}}\) and moreover P remains a spoke in the Voronoi diagram \(H_{\mathcal {S}}\) of \({\mathcal {S}}\) (then it is obviously a heavy spoke in \(H_{\mathcal {S}}\) as well). For A to happen, apart from the event that \(p_1,p_2,p_3\in {\mathcal {S}}\), we also need that the following event happens: for each \(p^{\prime}\in {\mathcal {F}}{\setminus } \{p_1,p_2,p_3\}\) that is in conflict with P, \(p^{\prime}\) is not included in \({\mathcal {S}}\). Let \({\mathcal {Z}}\subseteq {\mathcal {F}}\) be the set of such objects \(p^{\prime}\). Using the standard inequality \(1-x\le \exp (-x)\), we have

$$\begin{aligned} {\mathbb {P}}(A)\le & {} q_{p_1} q_{p_2} q_{p_3}\cdot \prod _{p^{\prime}\in {\mathcal {Z}}} (1-q_{p^{\prime}}) \le q_{p_1} q_{p_2} q_{p_3}\cdot \exp \left( -\sum _{p^{\prime}\in {\mathcal {Z}}} q_{p^{\prime}}\right) \nonumber \\\le\, & {} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}\cdot \ell ^{3}\cdot \exp \left( -\frac{\ell }{W} \sum _{p^{\prime}\in {\mathcal {Z}}} {\mathbf {w}}(p^{\prime})\right) \nonumber \\\le\, & {} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}\cdot \ell ^{3}\cdot \exp \left( -\frac{\ell \eta }{W}\right) \nonumber \\\le\, & {} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}\cdot \ell ^{3}\cdot \exp (-10\ln \ell ) = \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}\cdot \ell ^{-7}\nonumber \\\le\, & {} 10^{-7}\cdot \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}. \end{aligned}$$
(1)

For a fixed triple \(p_1,p_2,p_3\in {\mathcal {F}}\), face f that is singular of type 1 for \((p_1,p_2,p_3)\), and spoke P incident to f, let us denote by \(A^1_{P,(p_1,p_2,p_3)}\) the event A considered above. Let \(B^1\) denote the event that some event \(A^1_{P,(p_1,p_2,p_3)}\) happens, i.e., \(B^1\) is the union of all events \(A^1_{P,(p_1,p_2,p_3)}\). By Lemma 5, for every triple \(p_1,p_2,p_3\in {\mathcal {F}}\) there are at most two faces f that are singular of type 1 for \((p_1,p_2,p_3)\), and for each of them there are at most 3 spokes P to consider. Thus, by applying the union bound to (1) we infer that

$$\begin{aligned} {\mathbb {P}}(B^1)\le 6\cdot 10^{-7}\cdot \sum _{p_1\in {\mathcal {F}}}\sum _{p_2\in {\mathcal {F}}}\sum _{p_3\in {\mathcal {F}}} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(p_3)}{W^3}=6\cdot 10^{-7}\cdot \frac{{\mathbf {w}}({\mathcal {F}})^3}{W^3}\le 10^{-6}. \end{aligned}$$

Denote by \(B^2\) the following event: there exists distinct \(p_1,p_2,p_3\in {\mathcal {F}}\), a singular face f of type 2 for \((p_1,p_2,p_3)\) such that (i) \(p_1,p_2,p_3\in {\mathcal {S}}\) and (ii) at least one of the heavy (w.r.t. \({\mathcal {F}}\)) spokes incident to f in the Voronoi diagram of \(\{p_1,p_2,p_3\}\) remains a spoke in \({\mathcal {S}}\). Also, denote by \(B^3\) the following event: there exists distinct \(p_0,p_1,p_2,p_3\in {\mathcal {F}}\), a singular face f of type 3 for \((p_0,p_1,p_2,p_3)\) such that (i) \(p_0,p_1,p_2,p_3\in {\mathcal {S}}\) and (ii) at least one of the heavy (w.r.t. \({\mathcal {F}}\)) spokes incident to f in the Voronoi diagram of \(\{p_0,p_1,p_2,p_3\}\) remains a spoke in \({\mathcal {S}}\). Similar calculations as for \(B^1\) yield the following:

$$\begin{aligned} {\mathbb {P}}(B^2)\le 10^{-6}\qquad {\text {and}}\qquad {\mathbb {P}}(B^3)\le 10^{-6}. \end{aligned}$$

Here, when estimating \({\mathbb {P}}(B^3)\) we sum over quadruples of objects instead of triples. By Lemma 6, we conclude that the probability that any spoke in the diagram \(H_{\mathcal {S}}\) is heavy is at most \(3\cdot 10^{-6}\le \frac{1}{6}\). □

We are left with diamonds. Call a diamond \(\varDelta _{\mathcal {S}}(e)\) in \(H_{{\mathcal {S}}}\)heavy if its weight with respect to \({\mathcal {F}}\) is larger than \(\eta \). The next check follows by essentially the same estimation as Claim 2.

Claim 3

The probability that there is a heavy diamond in\(H_{\mathcal {S}}\)is at most\(\frac{1}{6}\).

Proof

Suppose e is an edge of \(H_{\mathcal {S}}\) with endpoints \(f_1,f_2\), and let \(p_1,p_2\) be the objects of \({\mathcal {S}}\) corresponding to faces of \(H_{\mathcal {S}}\) incident to e. By Lemma 6, each \(f_t\) (\(t\in \{1,2\}\)) is either a type-1 singular face for a triple of objects from \({\mathcal {S}}\), or a type-2 singular face for a triple of objects from \({\mathcal {S}}\), or a type-3 singular face for a quadruple of objects from \({\mathcal {S}}\). Suppose for a moment that both \(f_1\) and \(f_2\) are type-1 singular faces for triples of objects from \({\mathcal {S}}\); then it is easy to see that \(f_1\) is a type-1 singular face for \((p_1,p_2,q_1)\) for some object \(q_1\in {\mathcal {S}}\), while \(f_2\) is a type-1 singular face for \((p_1,p_2,q_2)\) for some object \(q_2\in {\mathcal {S}}\). We will further assume that \(q_1\ne q_2\) and discuss the other case, as well as the cases when \(f_1\) or \(f_2\) are not type-1 singular faces, at the end, as the reasoning for them is analogous.

All in all, we have a quadruple of pairwise different objects \(p_1,p_2,q_1,q_2\). For the diamond \(\varDelta =\varDelta _{\mathcal {S}}(e)\) to arise in \(H_{{\mathcal {S}}}\), the following two events need to happen simultaneously:

  • objects \(p_1,p_2,q_1,q_2\) need to simultaneously be included in \({\mathcal {S}}\); and

  • all objects entirely contained in the interior of \(\varDelta \) need to be not included in \({\mathcal {S}}\).

These two events are independent. The probability of the first is

$$\begin{aligned} \ell ^4\cdot \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(q_1){\mathbf {w}}(q_2)}{W^4}. \end{aligned}$$

Let \({{\mathcal {G}}}\) be the family of objects entirely contained in the interior of \(\varDelta \). By the assumption that \(\varDelta \) is heavy, we have that \(\sum _{r\in {{\mathcal {G}}}} {\mathbf {w}}(r)\ge \eta \). The probability that no object of \({{\mathcal {G}}}\) is included in \({\mathcal {S}}\) is upper bounded by

$$\begin{aligned} \prod _{r\in {{\mathcal {G}}}} (1-q_r)\le & {} \prod _{r\in {{\mathcal {G}}}} \exp (-q_r)=\exp \left( -\sum _{r\in {{\mathcal {G}}}} q_r\right) \\&= {} \exp \left( -\frac{\ell }{W}\cdot \sum _{r\in {{\mathcal {G}}}} {\mathbf {w}}(r)\right) \le \exp \left( -10\ln \ell \right) =\ell ^{-10}. \end{aligned}$$

Therefore, the probability that \(\varDelta \) arises in \(H_{{\mathcal {S}}}\) is upper bounded by

$$\begin{aligned} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(q_1){\mathbf {w}}(q_2)}{W^4}\cdot \ell ^4\cdot \ell ^{-10}=\frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(q_1){\mathbf {w}}(q_2)}{W^4}\cdot \ell ^{-6}. \end{aligned}$$

Now for every quadruple \((p_1,p_2,q_1,q_2)\) of objects from \({\mathcal {F}}\) there are at most 4 diamonds induced by this quadruple as above, as there are at most 2 type-1 singular faces for \((p_1,p_2,q_1)\), and likewise for \((p_1,p_2,q_2)\). Therefore, the total probability that there exists a heavy diamond with both endpoints being singular faces of type-1 and \(q_1\ne q_2\) is bounded by

$$\begin{aligned} 4\cdot \ell ^{-6}\cdot \sum _{(p_1,p_2,q_1,q_2)\in {\mathcal {F}}^4} \frac{{\mathbf {w}}(p_1){\mathbf {w}}(p_2){\mathbf {w}}(q_1){\mathbf {w}}(q_2)}{W^4} =4\cdot \ell ^{-6}\cdot \frac{{\mathbf {w}}({\mathcal {F}})^4}{W^4}\le 4\cdot 10^{-6}, \end{aligned}$$

where the last inequality follows from the assumption that \(\ell \ge 10\). The reasoning for the case when \(q_1=q_2\) is analogous (we sum over triples instead of quadruples), and similarly for the cases when we are dealing with singular faces of type different than 1. The number of different cases one needs to consider is bounded by 100, so summing all the probabilities we conclude that the probability that there is a heavy diamond in \(H_{\mathcal {S}}\) is at most \(\frac{1}{6}\). □

Concluding, the assertion \(4\le |{\mathcal {S}}|\le 2\ell \) does not hold with probability at most \(\frac{7}{12}\), there is a heavy spoke in \(H_{\mathcal {S}}\) with probability at most \(\frac{1}{6}\), and there is a heavy diamond in \(H_{\mathcal {S}}\) with probability at most \(\frac{1}{6}\). Hence, with probability at least \(\frac{1}{12}\) neither of the above holds, so there exists a subfamily \({\mathcal {S}}\) satisfying all the postulated conditions. \(\square \)

2.3 Balanced Nooses

We proceed with the proof of Lemma 3 by explaining the second ingredient: balanced separators in Voronoi diagrams. In general, short embedding-respecting separators in the Voronoi diagram—so-called nooses—correspond to the Voronoi separators we are looking for. We start by defining nooses and showing how the existence of a sphere-cut decomposition of small width—a hierarchical decomposition of the diagram using nooses—implies the existence of a short noose that breaks the instance in a balanced way.

We remark that in [4], this part of the reasoning is essentially done by considering the radial graph of the Voronoi diagram and applying the weighted balanced separator theorem of Miller [6] to it. Such an approach would be also applicable in our case, but we find the approach via sphere-cut decompositions more explanatory regarding how separators in the (radial graph of the) diagram correspond to separators in the instance.

Sphere-cut decompositions. We now recall the framework of sphere-cut decompositions, which are embedding-respecting hierarchical decompositions of planar graphs.

A branch decomposition of a graph H is a pair \((T,\eta )\) where T is a tree with all internal nodes having degree 3, and \(\eta \) is a bijection between the edge set of H and the leaf set of T (for clarity, we always use the term node for a vertex of a decomposition tree). Take any edge e of T and consider removing it from T; then T breaks into two subtrees, say \(T_1,T_2\). Let \(A_1,A_2\) be the preimages of the leaf sets of \(T_1,T_2\) under \(\eta \), respectively; then \((A_1,A_2)\) is a partition of the edge set of H. The width of the edge e is the number of vertices of H incident to both an edge of \(A_1\) and to an edge of \(A_2\), and the width of the branch decomposition \((T,\eta )\) is the maximum among the widths of the edges of T. The branchwidth of H is the minimum possible width of a branch decomposition of H.

Let H be a connected plane graph embedded in a sphere \(\varSigma \). A noose in H is a closed, directed curve \(\gamma \) on \(\varSigma \) without self-crossings that meets H only at its vertices and visits every face of H at most once. Note that removing \(\gamma \) from the sphere \(\varSigma \) breaks it into two open disks: for one of them \(\gamma \) is the clockwise traversal of the perimeter, and for the other it is the counter-clockwise traversal (fixing an orientation of \(\varSigma \)). The first disk shall be called \({\mathbf {enc}}(\gamma )\) while the second shall be called \({\mathbf {exc}}(\gamma )\) (for enclosed and excluded). Treat a curve \(\gamma \) on \(\varSigma \) as a continuous function \(\gamma : [0,1] \rightarrow \varSigma \). Two curves \(\gamma , \gamma ^{\prime}\) on \(\varSigma \) are called homotopic on \(\varSigma \) if there is a continuous function \(h: [0,1] \times [0,1] \rightarrow \varSigma \) such that \(h(0,y) = \gamma (0)=\gamma ^{\prime}(0)\) for all \(y \in [0,1]\), \(h(1,y) = \gamma (1)=\gamma ^{\prime}(1)\) for all \(y \in [0,1]\), and \(h(x,0) = \gamma (x)\) and \(h(x,1) = \gamma ^{\prime}(x)\) for all \(x \in [0,1]\). Here h is the homotopy. Two nooses \(\gamma ,\gamma ^{\prime}\) are equivalent if they are homotopic on \(\varSigma \) with a homotopy that fixes the embedding of H; in other words, \(\gamma ^{\prime}\) can be obtained from \(\gamma \) by continuous transformations within the faces of H.

A sphere-cut decomposition of H is a triple \((T,\eta ,\delta )\) where \((T,\eta )\) is a branch decomposition of H and \(\delta \) maps ordered pairs of adjacent nodes of T to nooses on \(\varSigma \) (w.r.t. H) such that the following conditions are satisfied for each pair of adjacent nodes of T:

  • \(\delta (x,y)\) is equal to \(\delta (y,x)\) reversed (in particular \({\mathbf {enc}}(\delta (x,y))={\mathbf {exc}}(\delta (y,x))\));

  • \({\mathbf {enc}}(\delta (x,y))\) contains all the edges of H mapped to the component of \(T-xy\) containing y, while \({\mathbf {exc}}(\delta (y,x))\) contains all the edges of H mapped to the other component of \(T-xy\).

The following result follows from [3, 8] and was formulated in exactly this way in [5].

Theorem 4

Everyn-vertex sphere-embedded multigraph that is connected and bridgeless has a sphere-cut decomposition of width at most\(\sqrt{4.5 n}\).

We note that in Theorem 4, the assumption that the multigraph is bridgeless is necessary, as multigraphs with bridges do not have sphere-cut decompositions at all.

Suppose \((T,\eta ,\delta )\) is a sphere-cut decomposition of G. It is straightforward to see that we may adjust the nooses \(\delta (x,y)\) for xy ranging over adjacent nodes of T so that the following condition is satisfied: if node x has neighbors \(y_1,y_2,y_3\) in T, then \({\mathbf {enc}}(\delta (y_1,x))\) is the disjoint union of \({\mathbf {enc}}(\delta (x,y_2))\), \({\mathbf {enc}}(\delta (x,y_3))\), and \((\delta (x,y_2)\cap \delta (x,y_3)){\setminus } \delta (y_1,x)\), see Fig. 3. Sphere-cut decompositions satisfying this condition will be called faithful. It is easy to see that any sphere-cut decomposition can be made faithful by changing each noose to an equivalent one.

Fig. 3
figure 3

The condition required from faithful sphere-cut decompositions

Separator theorem for nooses. We now state a separator theorem for nooses drawn from a sphere-cut decomposition of a given sphere-embedded multigraph. The theorem is weighted with respect to a measure defined as follows. Suppose \({\mathcal {R}}\) is a finite family of pairwise disjoint objects on a sphere \(\varSigma \), where each object \(p\in {\mathcal {R}}\) is a nonempty arc-connected subset of \(\varSigma \) with associated nonnegative weight \({\mathbf {w}}(p)\). For an open disk \(\varDelta \subseteq \varSigma \), define its \({\mathcal {R}}\)-measure\(\mu _{{\mathcal {R}}}(\varDelta )\) as the total weight of objects from \({\mathcal {R}}\) that are entirely contained in \(\varDelta \).

Lemma 7

LetHbe a connected, bridgeless multigraph embedded on a sphere\(\varSigma \). Let\({\mathcal {R}}\)be a weighted family of pairwise disjoint objects on\(\varSigma \)and let\(W={\mathbf {w}}({\mathcal {R}})\). Suppose further\((T,\eta ,\delta )\)is a faithful sphere-cut decomposition ofHsuch that for every pair (xy) of adjacent nodes inTsuch thatxis a leaf, we have\(\mu _{{\mathcal {R}}}({\mathbf {enc}}(\delta (y,x)))<\frac{9}{20}W\). Thenthere exists a noose\(\gamma \)w.r.tH, which is one of the nooses in the sphere-cut decomposition\((T,\eta ,\delta )\), such that the following hold:

$$\begin{aligned} \mu _{{\mathcal {R}}}({\mathbf {enc}}(\gamma ))\le \frac{9}{10}W\qquad {\text {and}}\qquad \mu _{{\mathcal {R}}}({\mathbf {exc}}(\gamma ))\le \frac{9}{10}W. \end{aligned}$$

The proof of Lemma 7 is standard: we find a balanced edge (xy) in the decomposition \((T,\eta ,\delta )\) and \(\delta (x,y)\) is the sought noose. The fact that nooses appearing in \((T,\eta ,\delta )\) may intersect objects from \({\mathcal {R}}\) requires some technical attention. We start by proving a general-use statement using which we can extract balanced separators from hierarchical decompositions, provided we want balancedness with respect to some measure \(\mu (\cdot )\) that the decomposition roughly obeys.

Lemma 8

LetTbe a tree with all internal nodes of degree 3 and letWbe a positive real. Suppose that there is a function\(\mu \)which maps ordered pairs of adjacent nodes ofTto nonnegative reals such that the following conditions are satisfied:

  1. (S1)

    For every pairxyof adjacent nodes inT, we have

    $$\begin{aligned} \frac{9}{10}W\le \mu (x,y)+\mu (y,x)\le W. \end{aligned}$$
  2. (S2)

    Ifxis an internal node ofTwith neighbors\(y_1,y_2,y_3\), then

    $$\begin{aligned} \mu (x,y_2)+\mu (x,y_3)\le \mu (y_1,x)\le \mu (x,y_2)+\mu (x,y_3)+\frac{1}{10}W. \end{aligned}$$
  3. (S3)

    Wheneverxyare adjacent nodes inTandxis a leaf, we have\(\mu (y,x)<\frac{9}{20}W\).

Then there exists an edgexyofTsuch that

$$\begin{aligned} \frac{1}{4}W<\mu (x,y)<\frac{3}{4}W\qquad {\text {and}}\qquad \frac{1}{4}W<\mu (y,x)<\frac{3}{4}W. \end{aligned}$$

Proof

Orient the edges of T as follows: if xy are adjacent nodes, then orient xy toward x if \(\mu (x,y)>\mu (y,x)\), toward y if \(\mu (x,y)<\mu (y,x)\), and arbitrarily if \(\mu (x,y)=\mu (y,x)\). Thus, T becomes an oriented tree with |V(T)| nodes and \(|V(T)|-1\) edges, implying that there exists a node x of T that has outdegree 0.

We first check that x is not a leaf of T. Suppose otherwise and let y be the unique neighbor of x. By (S1) we have that \(\mu (y,x)+\mu (x,y)\ge \frac{9}{10}W\). Since xy was oriented toward x, we infer that \(\mu (y,x)\ge \mu (x,y)\), implying \(\mu (y,x)\ge \frac{9}{20}W\). This is a contradiction with (S3).

Therefore x is an internal node of T. Let \(y_1,y_2,y_3\) be the neighbors of x. Without loss of generality suppose \(\mu (x,y_1)\) is the largest among \(\mu (x,y_1),\mu (x,y_2),\mu (x,y_3)\). Using (S1) and (S2) we infer that

$$\begin{aligned} \mu (x,y_1)+\mu (x,y_2)+\mu (x,y_3)\ge \frac{9}{10}W-\mu (y_1,x)+\mu (x,y_2)+\mu (x,y_3)\ge \frac{4}{5}W, \end{aligned}$$

which implies that \(\mu (x,y_1)\ge \frac{4}{15}W>\frac{1}{4}W\). As \(xy_1\) was oriented toward x, we also have \(\mu (x,y_1)\le \frac{1}{2}W\). By (S1) we infer that

$$\begin{aligned} \mu (y_1,x)\ge \frac{9}{10}W-\mu (x,y_1)\ge \frac{4}{10}W>\frac{1}{4}W\quad {\text {and}}\quad \mu (y_1,x)\le W-\mu (x,y_1)\le \frac{11}{15}W<\frac{3}{4}W. \end{aligned}$$

Thus, the edge \(xy_1\) satisfies the requirements from the statement.\(\square \)

With Lemma 8 in place, we now give the proof of Lemma 7.

Proof (of Lemma 7)

We shall say that a closed non-self-crossing curve \(\gamma \) on \(\varSigma \) is \({\mathcal {R}}\)-light if the total weight of objects in \({\mathcal {R}}\) that intersect \(\gamma \) is at most \(\frac{W}{10}\).

Suppose first that the sphere-cut decomposition \((T,\eta ,\delta )\) contains at least one noose \(\gamma \) which is not \({\mathcal {R}}\)-light. Then the total weight of objects of \({\mathcal {R}}\) intersected by \(\gamma \) is more than \(\frac{W}{10}\), hence both \(\mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma ))\le \frac{9}{10}W\) and \(\mu _{{\mathcal {R}}}({{\mathbf {exc}}}(\gamma ))\le \frac{9}{10}W\) hold, and \(\gamma \) satisfies the required properties. Hence, we may assume that all the nooses in \((T,\eta ,\delta )\) are \({\mathcal {R}}\)-light.

We now verify that for \({\mathcal {R}}\)-light curves as separators, the requirements of Lemma 8 hold. \(\square \)

Claim 4

Suppose\(\gamma \)is an\({\mathcal {R}}\)-light curve on\(\varSigma \). Then

$$\begin{aligned} \frac{9}{10}W \le \mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma ))+\mu _{{\mathcal {R}}}({{\mathbf {exc}}}(\gamma ))\le W. \end{aligned}$$

Proof

The right inequality is obvious. For the left one, all objects in \({\mathcal {R}}\) that do not intersect \(\gamma \) are entirely contained in either in \({{\mathbf {enc}}}(\gamma )\) or in \({{\mathbf {exc}}}(\gamma )\), thus they contribute their weight to the sum \(\mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma ))+\mu _{{\mathcal {R}}}({{\mathbf {exc}}}(\gamma ))\), while the total weight of objects intersecting \(\gamma \) is at most \(\frac{W}{10}\) due to \({\mathcal {R}}\)-lightness of \(\gamma \). □

Claim 5

Suppose\(\gamma ,\gamma _1,\gamma _2\)are\({\mathcal {R}}\)-light curves such that\({{\mathbf {enc}}}(\gamma )\)is equal to the disjoint union of\({{\mathbf {enc}}}(\gamma _1)\), \({{\mathbf {enc}}}(\gamma _2)\)and\((\gamma _1\cap \gamma _2){\setminus } \gamma \). Then

$$\begin{aligned} \mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma _1))+\mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma _2))\le \mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma ))\le \mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma _1))+\mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\gamma _2))+\frac{W}{10}. \end{aligned}$$

Proof

The left inequality is obvious, because every subset from \({\mathcal {R}}\) entirely contained either in \({{\mathbf {enc}}}(\gamma _1)\) or in \({{\mathbf {enc}}}(\gamma _2)\) is also entirely contained in \({{\mathbf {enc}}}(\gamma )\), while \({{\mathbf {enc}}}(\gamma _1)\) and \({{\mathbf {enc}}}(\gamma _2)\) are disjoint. For the right inequality, observe that every object from \({\mathcal {R}}\) that is entirely contained in \({{\mathbf {enc}}}(\gamma )\) but not in \({{\mathbf {enc}}}(\gamma _1)\) or \({{\mathbf {enc}}}(\gamma _2)\) has to intersect \((\gamma _1\cap \gamma _2){\setminus } \gamma \). Since \(\gamma _1\) is \({\mathcal {R}}\)-light, the total weight of such objects is at most \(\frac{W}{10}\). □

We proceed with the proof of Lemma 7. For any ordered pair (xy) of adjacent nodes in T, let \(\mu (x,y)=\mu _{{\mathcal {R}}}({{\mathbf {enc}}}(\delta (x,y))\). Since all nooses in \((T,\eta ,\delta )\) are \({\mathcal {R}}\)-light and \((T,\eta ,\delta )\) is faithful, Claims 4 and 5 verify that conditions (S1) and (S2) of Lemma 8 hold. Condition (S3), on the other hand, is satisfied by the assumptions of the lemma. Therefore, we may apply Lemma 8, yielding a pair (xy) such that \(\delta (x,y)\) satisfies the required assertions. \(\square \)

2.4 From Nooses to Separators: Proof of Lemma 3

For the proof of Lemma 3 we need to formalize the connection between nooses in the Voronoi diagram and Voronoi separators in the graph. This connection was largely explored in [5]. We now recall and adjust the basic observations; see Fig. 4 for a visualization.

Fig. 4
figure 4

A Voronoi separator S of length 4 and its perimeter \(\pi (S)\), depicted in blue. The Voronoi regions are depicted in light colors, objects in respective solid colors. As in Fig. 5, the perimeter \(\pi (S)\) may not cross some object p traversed by S. The figure is taken almost verbatim from [5], with slight modifications (Color figure online)

Fig. 5
figure 5

Part of the Voronoi diagram with a spoke and a diamond highlighted. Depicted triangles are the branching points of the Voronoi diagram. Gray dashed curves are the edges of the Voronoi diagram. The spoke of u, which is the shortest path leading from u to the object p to whose region u belongs, is depicted in orange. The diamond induced by the edge \(f_1f_2\) is depicted in black (its interior is grayed). Note that the diamond does not need to cross objects \(p_1\) and \(p_2\). For instance, as in the figure, it may happen that the path within \({\widehat{T}}(p_2)\) connecting \(u_{2,1}\) and \(u_{2,2}\) does not intersect \(p_2\) (Color figure online)

Suppose G is an connected graph embedded in a sphere \(\varSigma \), each of its edges has a given length, \({\mathcal {S}}\subseteq {\mathcal {F}}\) are independent families of objects in G with \(|{\mathcal {S}}|\ge 4\), and \(H=H_{{\mathcal {S}}}\) is the Voronoi diagram of \({\mathcal {S}}\) in G. Recall that H is a connected 3-regular multigraph embedded in \(\varSigma \). Suppose \(\gamma \) is a noose in H. Then \(\gamma \) naturally induces a Voronoi separator \(S(\gamma )\) defined as the sequence:

$$\begin{aligned} \langle p_1,u_1,f_1,v_1,p_2,u_2,f_2,v_2,\ldots ,p_r,u_r,f_r,v_r\rangle \end{aligned}$$
(2)

such that

  • \(f_1,\ldots ,f_r\) are consecutive branching points of H visited by \(\gamma \);

  • between \(f_{i-1}\) and \(f_i\), \(\gamma \) travels through the face of H corresponding to the object \(p_i\);

  • \(u_i\) is the vertex of \(f_i\) corresponding to the direction of \(\gamma \) entering \(f_i\); and

  • \(v_i\) is the vertex of \(f_i\) corresponding to the direction of \(\gamma \) leaving \(f_i\).

Here, by correspondence between vertices of \(f_i\) and directions entering/leaving \(f_i\) we mean the following. Recall that \(f_i\) is a triangular face of G and at the same time it is a degree-3 vertex of H. Edges incident to \(f_i\) in H correspond in the dual to edges of \(f_i\) in G, thus the vertices of \(f_i\) may be naturally associated with the three incidences between \(f_i\) and faces of H around it: the vertex of \(f_i\) in G incident to edges \(e_1,e_2\) of \(f_i\) in G corresponds to the incidence with the face lying between the duals of \(e_1,e_2\) in H. A noose in H may enter/leave \(f_i\) in three directions corresponding to these three incidences. Hence, we have a correspondence between the vertices of \(f_i\) and the directions.

For a Voronoi separator S as in (2), define its perimeter\(\pi (S)\) to be the noose constructed by concatenating the following 2r curves in order, two for each \(i=1,2,\ldots ,r\):

  • the unique path in \({\widehat{T}}(p)\) from \(v_{i-1}\) to \(u_i\), and

  • a curve within \(f_i\) from \(u_i\) to \(v_i\), obtained by concatenating the segment from \(u_i\) to the center of \(f_i\) and the segment from the center of \(f_i\) to \(v_i\).

Given a noose \(\gamma \) with respect to H, the canonical version of \(\gamma \) is the noose \(\pi (S(\gamma ))\). Note that \(\gamma \) and its canonical version are equivalent as nooses with respect to H. A noose that is equal to its own canonical version shall be called canonical. It can be easily seen that if \(\gamma \) is a canonical noose with respect to H, then \({{\mathbf {enc}}}(\gamma )\) is the union of interiors of diamonds induced by edges of H enclosed by \(\gamma \); symmetrically for \({{\mathbf {exc}}}(\gamma )\). Then the following is immediate.

Lemma 9

Every sphere-cut decomposition of H for which all nooses are canonical is faithful.

We are ready to give a proof of Lemma 3.

Proof (of Lemma 3)

Apply Lemma 4 to \({\mathcal {F}}\) and \(\ell =s^2=10^6\cdot \left( \frac{1}{\epsilon }\ln \frac{1}{\epsilon }\right) ^2\). Note that thus \(\ell \ge 10\), as required by Lemma 4. This yields a subfamily \({\mathcal {S}}\subseteq {\mathcal {F}}\) and the corresponding Voronoi diagram \(H=H_{{\mathcal {S}}}\) satisfying the following properties:

  1. (N1)

    \(4\le |{\mathcal {S}}|\le 2\ell \);

  2. (N2)

    every spoke in H has weight with respect to \({\mathcal {F}}\) upper bounded by \(10\ln \ell \cdot \frac{W}{\ell }\); and

  3. (N3)

    every diamond in H has weight with respect to \({\mathcal {F}}\) upper bounded by \(10\ln \ell \cdot \frac{W}{\ell }\).

Recall that H is a 3-regular connected multigraph embedded in \(\varSigma \). Let us continue the proof under the assumption that H is bridgeless. The general case when H may have bridges requires attention to a few more technical details but is conceptually no different; we present it later.

Since H is bridgeless, by Theorem 4 we may find a sphere-cut decomposition \((T,\eta ,\delta )\) of H of width at most \(\sqrt{4.5 |V(H)|}\le \sqrt{18\ell }\le 5\sqrt{\ell }\). We may further assume that each noose used by \((T,\eta ,\delta )\) is canonical, hence \((T,\eta ,\delta )\) is faithful by Lemma 9. The following claims now follow easily from the properties of \({\mathcal {S}}\) provided by Lemma 4. \(\square \)

Claim 6

For every pair (xy) of adjacent nodes ofT, the total weight of objects of\({\mathcal {F}}\)banned by the Voronoi separator\(S(\delta (x,y))\)is at most\(\epsilon W\).

Proof

Since the width of \((T,\eta ,\delta )\) is at most \(5\sqrt{\ell }\), the noose \(\delta (x,y)\) traverses at most \(5\sqrt{\ell }=5s\) faces of H. Each traversal, say of the face corresponding to an object \(p\in {\mathcal {S}}\), is a path contained in the union of two spokes and possibly a path within p. Observe that the objects banned by \(S(\delta (x,y))\) are exactly the objects that are in conflict with any of these at most \({10}\sqrt{\ell }\) spokes. By (N2), each of these spokes has weight with respect to \({\mathcal {F}}\) upper bounded by \(10\ln \ell \cdot \frac{W}{\ell }\), which means that the total weight of objects banned by \(S(\delta (x,y))\) is at most

$$\begin{aligned} 10\sqrt{\ell }\cdot 10\ln \ell \cdot \frac{W}{\ell }= 100 \ln \ell \cdot \frac{W}{\sqrt{\ell }}=200\ln s\cdot \frac{W}{s}\le \epsilon W, \end{aligned}$$

where the last inequality holds due to \(\ln s\le {5}\cdot \ln \frac{1}{\epsilon }\) being satisfied for \(\epsilon <\frac{1}{10}\).□

Claim 7

If (xy) is a pair of adjacent nodes inTsuch thatxis a leaf, then the total weight of objects of\({\mathcal {F}}\)contained in\({{\mathbf {enc}}}(\delta (y,x))\)is at most\(\epsilon W\).

Proof

Let \(e=\eta ^{-1}(x)\). Then \(\delta (y,x)\) is the diamond induced by e and \({{\mathbf {enc}}}(\delta (y,x))\) is its interior. By (N3), every diamond in H has weight with respect to \({\mathcal {F}}\) upper bounded by

$$\begin{aligned} 10\ln \ell \cdot \frac{W}{\ell }\le \epsilon W, \end{aligned}$$

Similarly as in Claim 6. The claim follows. □

The next claim is the key insight from [5]: Voronoi separators induced by nooses in \((T,\eta ,\delta )\) break the intersection graph \({{\mathrm {IntGraph}}}({\mathcal {D}})\) in the expected way.

Claim 8

Suppose (xy) is a pair of adjacent nodes ofTand\(p,p^{\prime}\in {\mathcal {D}}\)are two objects not banned by\(S(\delta (x,y))\)such thatpand\(p^{\prime}\)are contained in different regions of\(\varSigma -\delta (x,y)\). Thenpand\(p^{\prime}\)are non-adjacent in\({{\mathrm {IntGraph}}}({\mathcal {D}})\).

Proof

Since p and \(p^{\prime}\) are contained in different regions of \(\varSigma -\delta (x,y)\), they are in particular disjoint. Hence, they are non-adjacent in the intersection graph \({{\mathrm {IntGraph}}}({\mathcal {D}})\). □

For an open disk \(\varDelta \) on \(\varSigma \), define the measure \(\mu _{{\mathcal {F}}}(\varDelta )\) as before: \(\mu _{{\mathcal {F}}}(\varDelta )\) is the sum of weights of objects \(p\in {\mathcal {F}}\) that are entirely contained in \(\varDelta \). Since \(\epsilon \le \frac{9}{20}\), Claim 7 verifies that the prerequisites of Lemma 7 are satisfied. Thus, we may apply Lemma 7 to \((T,\eta ,\delta )\), yielding a pair of adjacent nodes (xy) of T such that within each of the disks \({{\mathbf {enc}}}(\delta (x,y))\) and \({{\mathbf {enc}}}(\delta (y,x))\) the total weight of objects from \({\mathcal {F}}\) is at most \(\frac{9}{10}W\).

We claim that the Voronoi separator S satisfies all the required conditions. For condition (B1), we have that \({\mathcal {D}}(S)\subseteq {\mathcal {S}}\subseteq {\mathcal {F}}\) and all faces traversed by S are branching points of the Voronoi diagram of \({\mathcal {S}}\subseteq {\mathcal {D}}\); hence, they are \({\mathcal {D}}\)-important. For condition (B2), the length of \(S(\delta (x,y))\) is equal to the length of \(\delta (x,y)\), which is at most 3s. Condition (B3) follows directly from Claim 6. Finally, for condition (B4), Claim 8 together with the construction of S imply that every connected component of \({{\mathrm {IntGraph}}}({\mathcal {D}})-{\mathrm {Ban}}(S)\) contains objects from \({\mathcal {F}}\) of total weight at most \(\frac{9}{10}W\). Hence, S has all the prescribed properties.

We are left with discussing the case when the Voronoi diagram H has bridges. Note that diamonds in H are well-defined also for bridges; hence, as in Claim 7, every diamond in H has weight at most \(10\ln \ell \cdot \frac{W}{\ell }\le \epsilon W\).

Consider any bridge b in H, say with endpoints \(f_1\) and \(f_2\); recall that these are branching points of H. For \(t=1,2\), let us construct the canonical noose (w.r.t. H) of length 1 traveling through \(f_t\) and the unique face of H incident to the bridge b. Call this noose \(\beta (f_t,b)\) and orient it so that \({{\mathbf {enc}}}(\beta (f_t,b))\) contains the bridge b; nooses constructed in this manner shall be called bridge nooses.

The same calculations as in Claim 6 show that for any bridge noose \(\beta \), the total weight of objects of \({\mathcal {F}}\) banned by the Voronoi separator \(S(\beta )\) is at most \(\epsilon W\); this is because the length of a bridge noose is 1, which is never larger than 3s. This means that if for any bridge noose \(\beta \) we have that for both \({{\mathbf {enc}}}(\beta )\) and \({{\mathbf {exc}}}(\beta )\), the total weight of objects from \({\mathcal {F}}\) contained in each of these disks is at most \(\frac{9}{10}W\), then \(S(\beta )\) satisfies all the required conditions. Hence, from now on we assume that for every bridge noose \(\beta \), either \(\mu _{{\mathcal {F}}}({{\mathbf {enc}}}(\beta ))\) or \(\mu _{{\mathcal {F}}}({{\mathbf {exc}}}(\beta ))\) exceeds \(\frac{9}{10}W\).

Let us inspect any bridge b in H, say with endpoints \(f_1\) and \(f_2\). Denote \(\beta _1=\beta (f_1,b)\) and \(\beta _2=\beta (f_2,b)\). As \({{\mathbf {exc}}}(\beta _1)\) and \({{\mathbf {exc}}}(\beta _2)\) are disjoint, it cannot happen that \(\mu _{\mathcal {F}}({{\mathbf {exc}}}(\beta _1))>\frac{9}{10}W\) and \(\mu _{\mathcal {F}}({{\mathbf {exc}}}(\beta _2))>\frac{9}{10}W\). Also, if it happened that \(\mu _{\mathcal {F}}({{\mathbf {enc}}}(\beta _1))>\frac{9}{10}W\) and \(\mu _{\mathcal {F}}({{\mathbf {enc}}}(\beta _2))>\frac{9}{10}W\), then the objects from \({\mathcal {F}}\) contained in the interior of the diamond induced by b in H (which is equal to \({{\mathbf {enc}}}(\beta _1)\cap {{\mathbf {enc}}}(\beta _2)\)) would have weight more than \(\frac{8}{10}W\), a contradiction with the fact that every diamond in H has weight at most \(\epsilon W\). Therefore, either \(\mu _{\mathcal {F}}({{\mathbf {enc}}}(\beta _1))>\frac{9}{10}W\) and \(\mu _{\mathcal {F}}({{\mathbf {exc}}}(\beta _2))>\frac{9}{10}W\), or \(\mu _{\mathcal {F}}({{\mathbf {exc}}}(\beta _1))>\frac{9}{10}W\) and \(\mu _{\mathcal {F}}({{\mathbf {enc}}}(\beta _2))>\frac{9}{10}W\). Orient b toward \(f_2\) in the former case and toward \(f_1\) in the latter case.

Thus, every bridge of H becomes oriented. Since H has one fewer bridge than bridgeless components, there exists a bridgeless component B of H such that every bridge incident to B is oriented toward its endpoint residing in B.

We first resolve the corner case when B consists of one vertex, say u. Since H is 3-regular, u has three different neighbors \(v_1,v_2,v_3\) such that \(uv_1,uv_2,uv_3\) are the three bridges incident to u. These bridges are oriented toward u, which means that each of the disks

$$\begin{aligned} {{\mathbf {exc}}}(\beta (u,uv_1)),{{\mathbf {exc}}}(\beta (u,uv_2)),{{\mathbf {exc}}}(\beta (u,uv_3)) \end{aligned}$$

contains objects from \({\mathcal {F}}\) of total weight more than \(\frac{9}{10}W\). However, each object from \({\mathcal {F}}\) can be contained in at most 2 of these disks, and a simple counting argument yields a contradiction.

Hence, from now on suppose B is a bridgeless component of H consisting of more than one vertex. Since B is bridgeless and nontrivial and H is 3-regular, every vertex of u of B is incident to at most one bridge of H. Thus, it is easy to see that there is an injective mapping \(\phi \) from bridges incident to B to edges of B so that each bridge b shares an endpoint with \(\phi (b)\).

For a bridge b incident to B, let \(H_b\) be the component of \(H-b\) that is disjoint with B. Now, for every noose \(\gamma \) with respect to B we may define a noose \({\hat{\gamma }}\) with respect to H so that \(\gamma \) and \({\hat{\gamma }}\) are equivalent as nooses w.r.t. B, and for every bridge b incident to B, either all of \(H_b\), b, and \(\phi (b)\) are contained in \({{\mathbf {enc}}}(\gamma )\), or all of them are contained in \({{\mathbf {exc}}}(\gamma )\). See Fig. 6 for an example. We may further require that \({\hat{\gamma }}\) is canonical (as a noose with respect to H).

Fig. 6
figure 6

Construction of \({\hat{\gamma }}\) (a noose w.r.t. H) out of \(\gamma \) (a noose w.r.t B). The left panel depicts the bridgeless component B alone together with the noose \(\gamma \). The right panel depicts the whole graph H, with components \(H_{b_1},H_{b_2},H_{b_3}\) and bridges \(b_1,b_2,b_3\) reintroduced, and the adjusted noose \({\hat{\gamma }}\). The mapping \(\phi \) is depicted with gray, dashed arrows

By Theorem 4, let \((T,\eta ,\delta )\) be a sphere-cut decomposition of B of width at most \(\sqrt{4.5|V(B)|}\le 3\sqrt{\ell }\). Replace each noose \(\gamma \) appearing in \((T,\eta ,\delta )\) by \({\hat{\gamma }}\); it is easy to see that thus \((T,\eta ,\delta )\) is still a sphere-cut decomposition of B and becomes faithful. We would like now to apply the whole reasoning to \((T,\eta ,\delta )\) and B. Claim 6 works exactly as before, because the only condition we needed is an upper bound on the weights of spokes in H.

However, Claim 7 may fail, because disks of the form \({{\mathbf {enc}}}(\delta (y,x))\), where x is a leaf of T and y is the node of T adjacent to it, are no longer diamonds in H. More precisely, if \(e=\eta ^{-1}(x)\) is the edge of H associated with x and \(\varDelta (e)\) is the interior of the diamond of H induced by it, then the following two cases may happen:

  • if e is not in the image of \(\phi \), then \({{\mathbf {enc}}}(\delta (y,x))=\varDelta (e)\);

  • if \(e=\phi (b)\) for some bridge b incident to B, say with u being the endpoint of b in B, then \({{\mathbf {enc}}}(\delta (y,x))\) is the union of \(\varDelta (e)\), the disk \({{\mathbf {enc}}}(\beta (u,b))\), and the intersection of their boundaries.

In the first case, we already know that \(\mu _{\mathcal {F}}({{\mathbf {enc}}}(\delta (y,x)))\le \epsilon W<\frac{9}{20}W\). In the second case, observe that every object of \({\mathcal {F}}\) contained in \({{\mathbf {enc}}}(\delta (y,x))\) is either contained \(\varDelta (e)\) or is not contained in \({{\mathbf {exc}}}(\beta (u,b))\). The total weight of objects satisfying the first condition is at most \(\epsilon W\), whereas the total weight of objects satisfying the second condition is less than \(\frac{W}{10}\), because \(\mu _{\mathcal {F}}({{\mathbf {exc}}}(\beta (u,b)))>\frac{9}{10}W\). Hence,

$$\begin{aligned}\mu _{{\mathcal {F}}}({{\mathbf {enc}}}(\delta (y,x)))\le \epsilon W + \frac{W}{10}<\frac{9}{20}W.\end{aligned}$$

Summing up, in both cases we have verified that \(\mu _{{\mathcal {F}}}({{\mathbf {enc}}}(\delta (y,x)))<\frac{9}{20}W\), so we may apply Lemma 7 and proceed as in the case without bridges. \(\square \)

3 A QPTAS for Maximum Weight Independent Set of Objects

In this section we use Lemma 2 to design a QPTAS for MWISO, that is, we prove Theorem 1. Recall that the setting is as follows. The input is \((G,{\mathcal {D}})\), where G is a graph embedded in a sphere \(\varSigma \) together with a family of objects \({\mathcal {D}}\), each being a connected subgraph of G with a prescribed positive weight. Moreover, we are given an accuracy parameter \(\epsilon >0\) and we may assume w.l.o.g. that \(\epsilon <\frac{1}{10}\). The goal is to find an independent subfamily \({\mathcal {F}}\subseteq {\mathcal {D}}\) with the largest possible weight; more precisely, the algorithm shall compute a solution of weight at least \((1-\epsilon )\) times the optimum. Let \(n=|V(G)|\) and \(N=|{\mathcal {D}}|\); w.l.o.g. we assume \(N\ge 2\).

First, we assume that all objects in \({\mathcal {D}}\) have weights between 1 and \(M=2\epsilon ^{-1}N\). For the given instance \((G,{\mathcal {D}})\) let us define

$$\begin{aligned} {\mathrm {span}}({\mathcal {D}})=\frac{\max _{p\in {\mathcal {D}}}{\mathbf {w}}(p)}{\min _{p\in {\mathcal {D}}}{\mathbf {w}}(p)}. \end{aligned}$$

The following standard claim shows that we may assume that the span in the input instance is bounded polynomially in N and \(1/\epsilon \); more precisely, by \(M=2\epsilon ^{-1}N\).

Claim 9

Suppose there is a QPTAS as described in Theorem 1, but working on instances\((G,{\mathcal {D}})\)that additionally satisfy\({\mathrm {span}}({\mathcal {D}})<2\epsilon ^{-1}|{\mathcal {D}}|\). Then Theorem 1holds.

Proof

Let \(M=2\epsilon ^{-1}|{\mathcal {D}}|\). For every object \(p\in {\mathcal {D}}\) construct a subfamily \({\mathcal {D}}_p\subseteq {\mathcal {D}}\) consisting of all objects whose weight is not larger than \({\mathbf {w}}(p)\) but larger than \({\mathbf {w}}(p)/M\). Clearly, \({\mathrm {span}}({\mathcal {D}}_p)<M\). We claim that there exists \(p\in {\mathcal {D}}\) such that the optimum solution for \((G,{\mathcal {D}}_p)\) has weight at most \((1-\epsilon /2)\) smaller than the optimum solution for \((G,{\mathcal {D}})\). If this is the case, then it suffices to run the assumed QPTAS on each of the instances \((G,{\mathcal {D}}_p)\), for \(p\in {\mathcal {D}}\), using accuracy parameter \(\epsilon /2\), and output the heaviest of the solutions found.

Let \({\mathcal {F}}_{{{\mathrm {OPT}}}}\subseteq {\mathcal {D}}\) be the optimum solution for \((G,{\mathcal {D}})\). Let p be the heaviest object in \({\mathcal {F}}_{{{\mathrm {OPT}}}}\). Consider \({\mathcal {F}}=\{q\in {\mathcal {F}}_{{{\mathrm {OPT}}}}:{\mathbf {w}}(q)>{\mathbf {w}}(p)/M\}\) and observe that \({\mathcal {F}}\subseteq {\mathcal {D}}_p\), thus \({\mathcal {F}}\) is a solution for \((G,{\mathcal {D}}_p)\). On the other hand, we have

$$\begin{aligned} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}{\setminus } {\mathcal {F}})\le {\mathbf {w}}(p)/M\cdot |{\mathcal {F}}_{{{\mathrm {OPT}}}}{\setminus } {\mathcal {F}}|\le {\mathbf {w}}(p)/M\cdot |{\mathcal {D}}|=\epsilon /2\cdot {\mathbf {w}}(p)\le \epsilon /2\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}), \end{aligned}$$

where the last inequality follows from \(p\in {\mathcal {F}}_{{{\mathrm {OPT}}}}\). Hence \({\mathbf {w}}({\mathcal {F}})\ge (1-\epsilon /2){\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}})\) and we are done. □

By Claim 9 in order to prove Theorem 1 it suffices to work under the assumption that \({\mathrm {span}}({\mathcal {D}})<M\). Hence, by rescaling the weights we may assume that all the weights of objects in \({\mathcal {D}}\) are at least 1 and smaller than M.

Before we proceed to the algorithm, we fix the following parameters:

$$\begin{aligned} d_{\max }=10\ln (MN),\qquad \qquad {\hat{\epsilon }} = \frac{\epsilon }{d_{\max }},\qquad \qquad s=10^3\cdot \frac{1}{{\hat{\epsilon }}} \ln \frac{1}{{\hat{\epsilon }}}. \end{aligned}$$
(3)

Parameter \(d_{\max }\) is the maximum recursion depth of the algorithm; note that \(d_{\max }={\mathcal {O}}(\log (N/\epsilon ))\). Next, \({\hat{\epsilon }} = {\mathcal {O}}(\epsilon /\log (N))\) is the refined accuracy parameter which will be used throughout the recursion instead of \(\epsilon \). Similarly as in [1, 2, 4], intuitively we lose a factor of \(1-{\hat{\epsilon }}\) in each recursion level which yields an overall approximation ratio of \((1 - {\hat{\epsilon }})^{d_{max}} = (1 - \epsilon /d_{max})^{d_{max}} = 1 - O(\epsilon )\). Let us stress that although the algorithm uses recursion and the number of objects changes in subsequent recursive calls, the values of \(d_{\max },{\hat{\epsilon }},s\) are fixed as above and their definitions always refer to the initial number of objects.

We now explain the algorithm; it is also summarized using pseudocode as Algorithm 1. Let us fix an optimum solution \({\mathcal {F}}_{{\mathrm {OPT}}}\) and denote \(W={\mathbf {w}}({\mathcal {F}}_{{\mathrm {OPT}}})\). We shall analyze \({\mathcal {F}}_{{\mathrm {OPT}}}\), which will lead to the formulation of the algorithm as a recursive search for \({\mathcal {F}}_{{\mathrm {OPT}}}\).

We would like to use Lemma 2 to guess a Voronoi separator that breaks \({\mathcal {F}}_{{\mathrm {OPT}}}\) in a balanced way. However, we first need make sure that every object in question constitutes only a small fraction of W. This is done by a standard method of guessing exactly “heavy” objects in the solution, whose number is small, and proceeding only with the “light” ones.

More precisely, call an object \(p\in {\mathcal {F}}_{{\mathrm {OPT}}}\)heavy if \({\mathbf {w}}(p)>s^{-2}W\). Observe that the number of heavy objects in \({\mathcal {F}}_{{\mathrm {OPT}}}\) is at most \(s^2\), hence there are at most \(N^{s^2}\) possible ways to select those heavy objects from \({\mathcal {D}}\). The algorithm branches into all possible such ways, in each branch fixing a different candidate for the set of heavy objects. Hence, by increasing the number of subproblems by a multiplicative factor \(N^{s^2}\) we may assume that the algorithm fixes the set \({\mathcal {F}}_{\mathrm {hv}}\) consisting of all heavy objects in \({\mathcal {F}}_{{\mathrm {OPT}}}\). Let \({\mathcal {D}}^{\prime}\) be obtained from \({\mathcal {D}}\) by removing \({\mathcal {F}}_{\mathrm {hv}}\) and all objects intersecting any object from \({\mathcal {F}}_{\mathrm {hv}}\), and let \({\mathcal {F}}_{{\mathrm {OPT}}}^{\prime}={\mathcal {F}}_{{\mathrm {OPT}}}-{\mathcal {F}}_{\mathrm {hv}}\). Note that \({\mathbf {w}}({\mathcal {F}}_{{\mathrm {OPT}}}^{\prime})\le W\) and \({\mathbf {w}}(p)\le s^{-2}W\) for all \(p\in {\mathcal {F}}_{{\mathrm {OPT}}}^{\prime}\).

We may now apply Lemma 2 to \({\mathcal {F}}_{{\mathrm {OPT}}}^{\prime}\subseteq {\mathcal {D}}^{\prime}\) with W being the upper bound on its weight. Thus, in time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\) we may compute a family \({\mathbb {X}}\) consisting of subsets of \({\mathcal {D}}^{\prime}\) with \(|{\mathbb {X}}|\le 6^{3s}N^{15s}\) and satisfying the following property: there exists \({\mathcal {X}}\in {\mathbb {X}}\) such that \({\mathbf {w}}({\mathcal {F}}_{{\mathrm {OPT}}}^{\prime}{\setminus } {\mathcal {X}})\le \epsilon W\) and within each connected component of the graph \({\mathrm {IntGraph}}({\mathcal {D}}^{\prime})-{\mathcal {X}}\) the total weight of objects from \({\mathcal {F}}_{{\mathrm {OPT}}}^{\prime}\) does not exceed \(\frac{9}{10}W\). By branching into all the members of \({\mathbb {X}}\), via increasing the number of subproblems by a multiplicative factor \(|{\mathbb {X}}|\) we may henceforth assume that the algorithm fixes \({\mathcal {X}}\) with properties as above.

For a fixed choice of \({\mathcal {F}}_{\mathrm {hv}}\) and \({\mathcal {X}}\) as above, let us inspect the connected components of \({\mathrm {IntGraph}}({\mathcal {D}}^{\prime})-{\mathcal {X}}\); let their vertex sets be \({\mathcal {D}}_1,\ldots ,{\mathcal {D}}_k\). We apply the algorithm recursively to the instances \((G,{\mathcal {D}}_i)\) for \(i=1,\ldots ,k\), yielding independent families \({\mathcal {F}}_1,\ldots ,{\mathcal {F}}_k\) with \({\mathcal {F}}_i\subseteq {\mathcal {D}}_i\). We record the family \({\mathcal {F}}={\mathcal {F}}_{\mathrm {hv}}\cup \bigcup _{i=1}^k {\mathcal {F}}_i\) as a candidate for the solution; it is straightforward to see from the construction that this family is independent. Finally, as the final solution we output the heaviest among the recorded candidates; that is, the heaviest solution found for all choices of \({\mathcal {F}}_{\mathrm {hv}}\) and \({\mathcal {X}}\). We remark that if for some choice of \({\mathcal {F}}_{\mathrm {hv}}\) it turned out that \({\mathcal {D}}^{\prime}=\emptyset \), i.e., every object intersects some objects from \({\mathcal {F}}_{\mathrm {hv}}\), then \({\mathbb {X}}\) contains only one choice of \({\mathcal {X}}\) being \(\emptyset \), hence we include \({\mathcal {F}}={\mathcal {F}}_{\mathrm {hv}}\) among the candidates without invoking any recursive calls.

The base case of the recursion is provided by trimming it at level \(d_{\max }\). More precisely, all subcalls at depth larger than \(d_{\max }\) return empty solutions. This concludes the description of the algorithm; as mentioned, it is summarized using pseudocode as Algorithm 1.

figure a

Running time analysis. On a high level, the above algorithm runs in time \(2^{{\mathrm {poly}}(1/\epsilon ,\log N)}\cdot n^{{\mathcal {O}}(1)}\) because at each node of the recursion tree the algorithm uses polynomial time and calls itself on \(N^{{\mathcal {O}}(s^2)}\) subinstances, where \(s={\mathrm {poly}}(1/\epsilon ,\log N)\). Together with the bound of \(d_{\max }={\mathcal {O}}(\log (N/\epsilon ))\) on the recursion depth this yields the promised running time.

Formally, we argue as follows. Throughout this analysis N denotes the initial number of objects. It is straightforward to see that the computation at each recursive call, excluding time spent on executing the invoked subcalls, takes time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\). Therefore, to bound the running time it suffices to bound the total number of nodes in the recursion tree. As the recursion is trimmed at depth \(d_{\max }\), its height is at most \(d_{\max }\). Further, in each call we investigate:

  • at most \(N^{s^2}\) ways to select heavy objects \({\mathcal {F}}_{{\mathrm {hv}}}\) from \({\mathcal {D}}\);

  • at most \(6^{3s}N^{15s}\) ways to select the family \({\mathcal {X}}\); and

  • at most N connected components of \({{\mathrm {IntGraph}}}({\mathcal {D}}^{\prime})-{\mathcal {X}}\).

This yields at most \(6^{3s}\cdot N^{s^2+18s+1}\le N^{2s^2}\) instances on which a recursive subcall is invoked. This means that each node of the recursion tree has at most \(N^{2s^2}\) children, which together with the height of at most \(d_{\max }=10\ln (NM)\) yields an upper bound of \(N^{20s^2\ln (NM)}\) on the number of nodes in the recursion tree. Since the computation at each node takes time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\), we arrive at the total running time of

$$\begin{aligned} N^{{\mathcal {O}}(s^2\log (NM))}\cdot n^{{\mathcal {O}}(1)}=2^{{{\mathrm {poly}}}(1/\epsilon , \log N)}\cdot n^{{\mathcal {O}}(1)}, \end{aligned}$$

as promised.

Approximation factor analysis. As mentioned before, the claimed approximation ratio follows as intuitively in each of the \(d_{\max }\) recursion levels we lose a factor of \(1-{\hat{\epsilon }}\), accumulating to \((1-{\hat{\epsilon }})^{d_{\max }}=1-{\mathcal {O}}(\epsilon )\) overall. Formally, we argue as follows. It is clear that the family output by the algorithm is indeed independent. In order to prove that its weight is at least \((1-\epsilon )W\), it suffices to show the following claim and apply it for \(d=0\); i.e., for the initial instance \((G,{\mathcal {D}})\). Recall here that \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) is a fixed optimum solution for the whole instance.

Claim 10

Let\((G,\widetilde{{\mathcal {D}}})\)be an instance on which the algorithm is called in the recursion tree, say at depthd. Suppose further that\({\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\le (9/10)^d\cdot W\). Then the call of the algorithm to\((G,\widetilde{{\mathcal {D}}})\)returns an independent subfamily\(\widetilde{{\mathcal {F}}}\subseteq \widetilde{{\mathcal {D}}}\)with\({\mathbf {w}}(\widetilde{{\mathcal {F}}})\ge (1-d^{\prime}{{\hat{\epsilon }}}){\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\), where \(d^{\prime}=d_{\max }-d\).

Proof

Denote \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}={\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}\). We prove the claim by induction on the depth d, starting with the case \(d\ge d_{\max }\) and then decreasing d. For the base of the induction, for \(d\ge d_{\max }\) we have

$$\begin{aligned} (9/10)^d\le (1-1/10)^{10\ln (MN)}<e^{-\ln (MN)}=\frac{1}{MN}. \end{aligned}$$

On the other hand, \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) contains at most N objects of weight less than M each, hence \(W<MN\). Combining these two observations we infer that \((9/10)^{d}\cdot W<1\). Since each object of \({\mathcal {D}}\) has weight at least 1, we conclude that \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}=\emptyset \), so the claim holds vacuously.

Suppose now that \(d<d_{\max }\). Let \(\widetilde{W}={\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}})\); by assumption, \(\widetilde{W}\le (9/10)^d\cdot W\). Call an object \(p\in {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\)heavy if \({\mathbf {w}}(p)\ge s^{-2}\widetilde{W}\) and let \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\subseteq {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\) be the family of heavy objects in \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\). Observe that \(|{\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}|\le s^2\), so in the first loop of the algorithm there is an iteration in which we correctly fix the set \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\). We continue the reasoning under this assumption. As in the description, let \(\widetilde{{\mathcal {D}}}^{\prime}\) be \(\widetilde{{\mathcal {D}}}\) with all objects intersecting any object from \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) removed.

Now let \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}={\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}{\setminus } {\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\). Since \({\mathbf {w}}(p)<s^{-2}\widetilde{W}\) for all \(p\in {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\), we may apply Lemma 2 to \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\) and \(\widetilde{W}\) as the upper bound on its weight, and conclude that the enumerated family \({\mathbb {X}}\) contains at least one member \({\mathcal {X}}\) satisfying the properties as in the description of the algorithm. In particular, in one iteration of the second loop the algorithm correctly fixes such \({\mathcal {X}}\) and proceeds with it. From now on we continue under this assumption.

Having fixed \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) and \({\mathcal {X}}\), the algorithm investigates the connected components \(\widetilde{{\mathcal {D}}}_1,\ldots ,\widetilde{{\mathcal {D}}}_k\) of \({{\mathrm {IntGraph}}}(\widetilde{{\mathcal {D}}}^{\prime})-{\mathcal {X}}\) and applies itself recursively to each instance \((G,\widetilde{{\mathcal {D}}}_i)\), for \(i=1,\ldots ,k\), yielding families \(\widetilde{{\mathcal {F}}}_i\subseteq \widetilde{{\mathcal {D}}}_i\). By the properties of \({\mathcal {X}}\), we have that

$$\begin{aligned} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i)\le (9/10)\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\le (9/10)^{d+1}\cdot W, \end{aligned}$$

for each \(i\in \{1,\ldots ,k\}\). Since recursive subcalls to instances \((G,\widetilde{{\mathcal {D}}}_i)\) are at level \(d+1\) in the recursion tree, by the induction assumption we infer that

$$\begin{aligned} {\mathbf {w}}({\mathcal {F}}_i)\ge (1-(d^{\prime}-1){{\hat{\epsilon }}})\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i) \end{aligned}$$
(4)

for each \(i\in \{1,\ldots ,k\}\). Since the total weight of objects of \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap {\mathcal {X}}\) is at most \({{\hat{\epsilon }}}\widetilde{W}\), we have that

$$\begin{aligned} {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+\sum _{i=1}^k {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i)\ge (1-{{\hat{\epsilon }}})\widetilde{W}. \end{aligned}$$
(5)

Recall that the algorithm returns a family of weight not smaller than the weight of \(\widetilde{{\mathcal {F}}}={\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\cup \bigcup _{i=1}^k \widetilde{{\mathcal {F}}}_i\). By combining (4) with (5) we have

$$\begin{aligned} {\mathbf {w}}(\widetilde{{\mathcal {F}}})&= {} {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+\sum _{i=1}^k {\mathbf {w}}(\widetilde{{\mathcal {F}}}_i) \\\ge & {} {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+(1-(d^{\prime}-1){{\hat{\epsilon }}})\cdot \sum _{i=1}^k {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i) \\\ge & {} (1-(d^{\prime}-1){{\hat{\epsilon }}})\cdot \left( {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+\sum _{i=1}^k {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i)\right) \\\ge & {} (1-(d^{\prime}-1){{\hat{\epsilon }}})(1-{{\hat{\epsilon }}})\widetilde{W}\ge (1-d^{\prime}{{\hat{\epsilon }}})\widetilde{W}. \end{aligned}$$

This concludes the proof of Theorem 1. □

4 A QPTAS for Minimum Weight Distance Set Cover

In this section we prove Theorem 2. We first state and prove a suitable variant of Lemma 2; its proof will follow from Lemma 3 in a similar way.

Lemma 10

(Separator Lemma for MWDSC) LetGbe ann-vertex planar graph, \({\mathcal {D}}\)be a weighted set of vertices ofGwith\(|{\mathcal {D}}|=N\), \({\mathcal {C}}\)be a set of vertices ofG, andrbe a nonnegative real. Let\(0<\epsilon <\frac{1}{20}\)and denote\(s=10^3\cdot \frac{1}{\epsilon } \ln \frac{1}{\epsilon }\). Then there is a family\({\mathbb {X}}\)consisting of quadruples of the form\(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\)such that:

  1. (D1)

    For each\(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\in {\mathbb {X}}\), we have that\({\mathcal {D}}_1,{\mathcal {D}}_2\subseteq {\mathcal {D}}\), \({\mathcal {C}}_1,{\mathcal {C}}_2\subseteq {\mathcal {C}}\), and\({\mathcal {C}}_1\cup {\mathcal {C}}_2={\mathcal {C}}\);

  2. (D2)

    \(|{\mathbb {X}}|\le 6^{3s}N^{15s}\)and\({\mathbb {X}}\)can be computed in time\(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\); and

  3. (D3)

    For every real\(W\ge 0\)and subset\({\mathcal {F}}\subseteq {\mathcal {D}}\)such that\({\mathcal {F}}\)r-covers\({\mathcal {C}}\), \({\mathbf {w}}({\mathcal {F}})\le W\), and\({\mathbf {w}}(p)\le s^{-2}W\)for each\(p\in {\mathcal {F}}\), there exists a quadruple\(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\in {\mathbb {X}}\)such that:

    • \({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {D}}_1\cap {\mathcal {D}}_2)\le \epsilon W\);

    • \({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {D}}_1)\le \frac{19}{20}W\)and\({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {D}}_2)\le \frac{19}{20}W\); and

    • \({\mathcal {F}}\cap {\mathcal {D}}_1\)r-covers\({\mathcal {C}}_1\)and\({\mathcal {F}}\cap {\mathcal {D}}_2\)r-covers\({\mathcal {C}}_2\).

Proof

As before, we may assume we are given an embedding of G in a sphere \(\varSigma \), G is triangulated using edges of infinite lengths, and distances in G are unique.

Consider applying Lemma 3 to \({\mathcal {D}}\) (where we interpret vertices in \({\mathcal {D}}\) as single-vertex objects) and a subset \({\mathcal {F}}\subseteq {\mathcal {D}}\) as in (D3). This yields a Voronoi separator S of length at most 3s such that all faces traversed by S are \({\mathcal {D}}\)-important and S breaks \({\mathcal {F}}\) in a balanced way as described in Lemma 3. As explained in the proof of Lemma 2, given only \({\mathcal {D}}\) there are at most \(6^{3s}N^{15s}\) ways to choose such a Voronoi separator S and in time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\) we can enumerate a family \({\mathcal {N}}\) of at most \(6^{3s}N^{15s}\) candidates for S.

Now, construct \({\mathbb {X}}\) by including the following quadruple \(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\) for each \(S\in {\mathcal {N}}\). Let \(\gamma =\pi (S)\) be the perimeter of S (recall that the perimeter of S is the noose “following” S; we defined it in Sect. 2.4). Then define \(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\) as follows:

  • \({\mathcal {D}}_1\) is the union of \({\mathrm {Ban}}(S)\) and all vertices of \({\mathcal {D}}\) contained in \({{\mathbf {enc}}}(\gamma )\);

  • \({\mathcal {D}}_2\) is the union of \({\mathrm {Ban}}(S)\) and all vertices of \({\mathcal {D}}\) contained in \({{\mathbf {exc}}}(\gamma )\);

  • \({\mathcal {C}}_1\) comprises all vertices of \({\mathcal {C}}\) contained in \({{\mathbf {enc}}}(\gamma )\cup \gamma \); and

  • \({\mathcal {C}}_2\) comprises all vertices of \({\mathcal {C}}\) contained in \({{\mathbf {exc}}}(\gamma )\cup \gamma \).

This concludes the construction of \({\mathbb {X}}\); we are left with verifying its properties. Conditions (D1) and (D2) are clear from the construction, so we are left with condition (D3). Suppose W and \({\mathcal {F}}\) are as in the statement of condition (D3).

For the first assertion, observe that \({\mathcal {D}}_1\cap {\mathcal {D}}_2={\mathrm {Ban}}(S)\) and by Lemma 3, condition (B3), we have that \({\mathbf {w}}({\mathcal {F}}\cap {\mathrm {Ban}}(S))\le \epsilon W\). The claim follows.

For the second assertion, observe that \({\mathcal {F}}\cap {\mathcal {D}}_1\) comprises the vertices of \({\mathcal {F}}\) contained in \({{\mathbf {enc}}}(\gamma )\) and the vertices of \({\mathcal {F}}\) banned by S. By Lemma 3, conditions (B3) and (B4), the weights of these sets of vertices are at most \(\frac{9}{10}W\) and at most \(\epsilon W\le \frac{W}{20}\), respectively. It follows that \({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {D}}_1)\le \frac{19}{20}W\); a symmetric reasoning shows that \({\mathbf {w}}({\mathcal {F}}\cap {\mathcal {D}}_2)\le \frac{19}{20}W\) as well.

We are left with the third assertion. Take any vertex \(c\in {\mathcal {C}}_1\). Let p be the vertex from \({\mathcal {F}}\) that is closest to c and let P be the shortest path connecting c with p. Since \({\mathcal {F}}\)r-covers \({\mathcal {C}}\), we have that \(\mathrm {length}(P)={\text {dist}}(p,c)\le r\). If \(p\in {\mathcal {F}}\cap {\mathcal {D}}_1\) then we are done, hence assume that \(p\in {\mathcal {F}}{\setminus } {\mathcal {D}}_1\). In particular, p is contained in \({{\mathbf {exc}}}(\gamma )\) and p is not banned by S. Since \(c\in {\mathcal {C}}_1\), c is contained in \({{\mathbf {enc}}}(\gamma )\cup \gamma \), so P has to cross \(\gamma \) at some vertex, say w. Let \(q\in {\mathcal {D}}(S)\) be the vertex on the Voronoi separator S that is the closest to w; recall that \({\mathcal {D}}(S)\subseteq {\mathcal {F}}\), hence \(q\in {\mathcal {F}}\). Since p is not banned by S, we have that \({\text {dist}}(w,p)>{\text {dist}}(w,q)\). As P is the shortest path connecting c and p, we infer that

$$\begin{aligned} r\ge {\text {dist}}(c,p)={\text {dist}}(c,w)+{\text {dist}}(w,p)>{\text {dist}}(c,w)+{\text {dist}}(w,q)\ge {\text {dist}}(c,q). \end{aligned}$$

This means that c is r-covered by q. But q is banned by S due to \(q\in {\mathcal {D}}(S)\subseteq {\mathrm {Ban}}(S)\), which implies that c is r-covered by \({\mathcal {F}}_1\). Since c was chosen arbitrarily, we infer that \({\mathcal {C}}_1\) is r-covered by \({\mathcal {F}}\cap {\mathcal {D}}_1\), and a symmetric reasoning shows that \({\mathcal {C}}_2\) is r-covered by \({\mathcal {F}}\cap {\mathcal {D}}_2\). \(\square \)

Reduction of the weight span. Similarly as in Sect. 3, we first bound the weight span of the input instance, defined as

$$\begin{aligned} {\mathrm {span}}({\mathcal {D}})=\frac{\max _{p\in {\mathcal {D}}}{\mathbf {w}}(p)}{\min _{p\in {\mathcal {D}}}{\mathbf {w}}(p)}. \end{aligned}$$

by a polynomial of \(|{\mathcal {D}}|\) and \(1/\epsilon \).

Claim 11

Suppose there is a QPTAS as described in Theorem 2, but working on instances\((G,{\mathcal {D}},{\mathcal {C}},r)\)that additionally satisfy\({\mathrm {span}}({\mathcal {D}})\le 2\epsilon ^{-1}|{\mathcal {D}}|\). Then Theorem 2holds.

Proof

Let \(M=2\epsilon ^{-1}|{\mathcal {D}}|\). For every vertex \(p\in {\mathcal {D}}\) construct a weighted set of vertices \({\mathcal {D}}_p\) by modifying \({\mathcal {D}}\) as follows: remove all vertices of weight larger than \({\mathbf {w}}(p)\) and for every vertex of weight smaller than \({\mathbf {w}}(p)/M\), increase its weight to \({\mathbf {w}}(p)/M\). For clarity, the weight function in \({\mathcal {D}}_p\) will be denoted by \({\mathbf {w}}_p(\cdot )\). That is, for each \(q\in {\mathcal {D}}\) we have:

  • if \({\mathbf {w}}(p)<{\mathbf {w}}(q)\), then \(q\notin {\mathcal {D}}_p\);

  • if \({\mathbf {w}}(p)/M<{\mathbf {w}}(q)\le {\mathbf {w}}(p)\), then \(q\in {\mathcal {D}}_p\) and \({\mathbf {w}}_p(q)={\mathbf {w}}(q)\); and

  • if \({\mathbf {w}}(q)\le {\mathbf {w}}(p)/M\), then \(q\in {\mathcal {D}}_p\) and \({\mathbf {w}}_p(q)={\mathbf {w}}(p)/M\).

Clearly \({\mathrm {span}}({\mathcal {D}}_p)\le M\). We claim that there exists \(p\in {\mathcal {D}}\) such that the optimum solution for \((G,{\mathcal {D}}_p,{\mathcal {C}},r)\) has weight at most \((1+\epsilon /2)\) larger than the optimum solution for \((G,{\mathcal {D}},{\mathcal {C}},r)\). If this is the case, then it suffices to run the assumed QPTAS on each of the instances \((G,{\mathcal {D}}_p,{\mathcal {C}},r)\), for \(p\in {\mathcal {D}}\), using accuracy parameter \(\epsilon /2\), and output the lightest of the solutions found. Indeed, instances \((G,{\mathcal {D}}_p,{\mathcal {C}},r)\) are derived from \((G,{\mathcal {D}},{\mathcal {C}},r)\) only by dropping some vertices and increasing the weights of some others, so every solution for \((G,{\mathcal {D}}_p,{\mathcal {C}},r)\) naturally projects to a solution for \((G,{\mathcal {D}},{\mathcal {C}},r)\) of not larger weight.

Let \({\mathcal {F}}_{{{\mathrm {OPT}}}}\subseteq {\mathcal {D}}\) be the optimum solution for \((G,{\mathcal {D}},{\mathcal {C}},r)\). Let p be the heaviest vertex in \({\mathcal {F}}_{{{\mathrm {OPT}}}}\). Observe that \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) is still a solution in \((G,{\mathcal {D}}_p,{\mathcal {C}},r)\), yet its weight with respect to \({\mathbf {w}}_p(\cdot )\) may be larger than with respect to \({\mathbf {w}}(\cdot )\). However, for each vertex \(q\in {\mathcal {F}}_{{{\mathrm {OPT}}}}\) we have

$$\begin{aligned}{\mathbf {w}}_p(q)\le {\mathbf {w}}(q)+{\mathbf {w}}(p)/M.\end{aligned}$$

Thus,

$$\begin{aligned} {\mathbf {w}}_p({\mathcal {F}}_{{{\mathrm {OPT}}}})\le & {} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}})+|{\mathcal {F}}_{{{\mathrm {OPT}}}}|\cdot {\mathbf {w}}(p)/M\\&= {} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}})+\epsilon /2\cdot {\mathbf {w}}(p)\cdot \frac{|{\mathcal {F}}_{{{\mathrm {OPT}}}}|}{|{\mathcal {D}}|}\le (1+\epsilon /2)\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}), \end{aligned}$$

where the last inequality follows from \(p\in {\mathcal {F}}_{{{\mathrm {OPT}}}}\). □

Denoting \(M=2\epsilon ^{-1}N=2\epsilon ^{-1}|{\mathcal {D}}|\), by Claim 11 in order to prove Theorem 2 it suffices to work under the assumption that \({\mathrm {span}}({\mathcal {D}})<M\). By rescaling the weights from now on we assume that all the weights of vertices in \({\mathcal {D}}\) are at least 1 and smaller than M.

Parameters. Similarly as in Sect. 3, we set parameters as follows:

$$\begin{aligned} d_{\max }=20\ln (MN),\qquad \qquad {{\hat{\epsilon }}}= \frac{\epsilon }{2d_{\max }},\qquad \qquad s=10^3\cdot \frac{1}{{{\hat{\epsilon }}}} \ln \frac{1}{{{\hat{\epsilon }}}}. \end{aligned}$$
(6)

Note that compared to the proof of Theorem 1, the recursion depth \(d_{\max }\) is twice larger and the rescaled accuracy parameter \({{\hat{\epsilon }}}\) is four times smaller. This is for technical reasons.

Description of the algorithm. We perform a similar recursive scheme as in Sect. 3, but using Lemma 10 instead of Lemma 2. The algorithm is summarized using pseudocode as Algorithm 2. We now explain it viewing it as a recursive search for the optimum solution.

Recall that we are given an instance \((G,{\mathcal {D}},{\mathcal {C}},r)\) and an accuracy parameter \(\epsilon \), and we have fixed parameters \(d_{\max },{{\hat{\epsilon }}},s\) as in (6). Fix an optimum solution \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) and denote \(W={\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}})\).

We first guess heavy vertices in the solution as in the proof of Theorem 1. Call a vertex \(p\in {\mathcal {F}}_{{{\mathrm {OPT}}}}\)heavy if \({\mathbf {w}}(p)>s^{-2}W\). Observe that \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) contains at most \(s^2\) heavy vertices; denote them by \({\mathcal {F}}_{{\mathrm {hv}}}\). The algorithm iterates through all subsets of \({\mathcal {D}}\) of size at most \(s^2\), in each case fixing the considered subset as \({\mathcal {F}}_{{\mathrm {hv}}}\). In one of the cases \({\mathcal {F}}_{{\mathrm {hv}}}\) will be fixed correctly, hence we may proceed with the assumption that the algorithm knows \({\mathcal {F}}_{{\mathrm {hv}}}\).

Let \({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}={\mathcal {F}}_{{{\mathrm {OPT}}}}{\setminus } {\mathcal {F}}_{{\mathrm {hv}}}\) and \({\mathcal {D}}^{\prime}={\mathcal {D}}{\setminus } {\mathcal {F}}_{{\mathrm {hv}}}\). Further, let \({\mathcal {C}}^{\prime}\) be constructed from \({\mathcal {C}}\) by removing all vertices that are r-covered by \({\mathcal {F}}_{{\mathrm {hv}}}\). Note that \({\mathcal {C}}^{\prime}\) is r-covered by \({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\). Moreover, observe that \({\mathbf {w}}(p)\le s^{-2}W\) for each \(p\in {\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\), hence we may apply Lemma 10 to \({\mathcal {D}}^{\prime}\) and \({\mathcal {C}}^{\prime}\). Thus, in time \(N^{{\mathcal {O}}(s)}\cdot n^{{\mathcal {O}}(1)}\) we construct a family \({\mathbb {X}}\) consisting of at most \(6^{3s}N^{15s}\) quadruples with the following guarantee: there exists a quadruple \(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\in {\mathbb {X}}\) such that

  • \({\mathcal {D}}_1,{\mathcal {D}}_2\subseteq {\mathcal {D}}^{\prime}\), \({\mathcal {C}}_1,{\mathcal {C}}_2\subseteq {\mathcal {C}}^{\prime}\), and \({\mathcal {C}}_1\cup {\mathcal {C}}_2={\mathcal {C}}^{\prime}\);

  • \({\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\cap {\mathcal {D}}_1\cap {\mathcal {D}}_2)\le {{\hat{\epsilon }}}W\);

  • \({\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\cap {\mathcal {D}}_1)\le \frac{19}{20}W\) and \({\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\cap {\mathcal {D}}_2)\le \frac{19}{20}W\); and

  • \({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\cap {\mathcal {D}}_1\)r-covers \({\mathcal {C}}_1\) and \({\mathcal {F}}_{{{\mathrm {OPT}}}}^{\prime}\cap {\mathcal {D}}_2\)r-covers \({\mathcal {C}}_2\).

By iterating through all members of \({\mathbb {X}}\), we may henceforth assume that the algorithm has fixed a quadruple \(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\) with the properties as above.

The algorithm now recurses on instances \((G,{\mathcal {D}}_1,{\mathcal {C}}_1,r)\) and \((G,{\mathcal {D}}_2,{\mathcal {C}}_2,r)\), thus computing two solutions \({\mathcal {F}}_1\subseteq {\mathcal {D}}_1\) and \({\mathcal {F}}_2\subseteq {\mathcal {D}}_2\) such that \({\mathcal {C}}_1\) is r-covered by \({\mathcal {F}}_1\) and \({\mathcal {C}}_2\) is r-covered by \({\mathcal {F}}_2\). Since \({\mathcal {C}}_1\cup {\mathcal {C}}_2={\mathcal {C}}^{\prime}\) and all members of \({\mathcal {C}}{\setminus } {\mathcal {C}}^{\prime}\) are r-covered by \({\mathcal {F}}_{{\mathrm {hv}}}\), the set \({\mathcal {F}}={\mathcal {F}}_{{\mathrm {hv}}}\cup {\mathcal {F}}_1\cup {\mathcal {F}}_2\)r-covers \({\mathcal {C}}\). The algorithm outputs the lightest of the sets \({\mathcal {F}}\) computed as above for all choices of \({\mathcal {F}}_{{\mathrm {hv}}}\) and \(({\mathcal {D}}_1,{\mathcal {D}}_2,{\mathcal {C}}_1,{\mathcal {C}}_2)\in {\mathbb {X}}\).

The base case of the recursion is given by trimming it at depth \(d_{\max }\). More precisely, all recursive calls at depth larger than \(d_{\max }\) return \({\mathcal {F}}=\emptyset \) in the case when \({\mathcal {C}}\) is empty (then it is an optimal solution), or a special marker \(\bot \) in the case when \({\mathcal {C}}\) is not empty. The marker \(\bot \) should be interpreted as “error”, that is, it marks that a recursive call has failed to find a solution, and it propagates in the recursion using the following convention: \({\mathbf {w}}(\bot )=+\infty \) and the union of \(\bot \) with any other set is equal to \(\bot \).

figure b

Again, we need to argue that the running time of the algorithm is as promised and that the output solution has weight at most \((1+\epsilon )W\). The running time analysis is exactly the same as in the proof of Theorem 1, so we skip it and proceed directly to arguing the approximation factor.

Approximation factor analysis. Similarly as in the case of Theorem 1, the fact that the algorithm outputs a solution of weight at most \((1+\epsilon )W\) follows directly from the following claim by applying it to the original instance \((G,{\mathcal {D}},{\mathcal {C}},r)\) and \(d=0\). Recall here that \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) is a fixed optimum solution to the original instance and its weight is W.

Claim 12

Let\((G,\widetilde{{\mathcal {D}}},\widetilde{{\mathcal {C}}},r)\)be an instance on which the algorithm is called in the recursion tree, say at depthd. Suppose further that\({\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\le (19/20)^d\cdot W\)and that\({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}\)r-covers\(\widetilde{{\mathcal {C}}}\). Then the call of the algorithm to\((G,\widetilde{{\mathcal {D}}},\widetilde{{\mathcal {C}}},r)\)returns a subset\(\widetilde{{\mathcal {F}}}\subseteq \widetilde{{\mathcal {D}}}\)thatr-covers\(\widetilde{{\mathcal {C}}}\)and satisfies\({\mathbf {w}}(\widetilde{{\mathcal {F}}})\le (1+2d^{\prime}{{\hat{\epsilon }}}){\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\), where\(d^{\prime}=d_{\max }-d\).

Proof

We prove the claim by induction on d, starting with the case \(d\ge d_{\max }\) and then proceeding with decreasing d. When \(d\ge d_{\max }\), we have

$$\begin{aligned} (19/20)^d\le (1-1/20)^{20\ln (MN)}<e^{-\ln (MN)}=\frac{1}{MN}. \end{aligned}$$

Since \({\mathcal {F}}_{{{\mathrm {OPT}}}}\) consists of at most N vertices of weight less than M each, we have \(W<MN\). Therefore

$$\begin{aligned} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\le (19/20)^d\cdot W<\frac{1}{MN}\cdot MN=1. \end{aligned}$$

As each vertex of \({\mathcal {D}}\) has weight at least 1, we infer that \({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}=\emptyset \). This means that \(\widetilde{{\mathcal {C}}}\) is empty as well and the algorithm correctly outputs \(\emptyset \) as a solution.

Suppose now that \(d<d_{\max }\). Denote \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}={\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{D}\) and let \(\widetilde{W}={\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}})\); by assumption, \(\widetilde{W}\le (19/20)^d\cdot W\). Call a vertex \(p\in {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\)heavy if \({\mathbf {w}}(p)\ge s^{-2}\widetilde{W}\) and let \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\subseteq {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\) be the set of heavy vertices in \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\). Observe that \(|{\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}|\le s^2\), so in the first loop of the algorithm there is an iteration in which we correctly fix the set \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\). We continue the reasoning under this assumption. As in the description, let \(\widetilde{{\mathcal {D}}}^{\prime}\) be \(\widetilde{{\mathcal {D}}}\) with all vertices from \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) removed, and let \(\widetilde{{\mathcal {C}}}^{\prime}\) be \(\widetilde{{\mathcal {C}}}\) with all vertices r-covered by \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) removed.

Now let \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}={\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}{\setminus } {\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) and observe that \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\)r-covers \({\mathcal {C}}^{\prime}\). Since \({\mathbf {w}}(p)<s^{-2}\widetilde{W}\) for all \(p\in {\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\), we may apply Lemma 10 to \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\), \({\mathcal {C}}^{\prime}\), and \(\widetilde{W}\) as the upper bound on the weight of \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}^{\prime}\). Thus we conclude that the enumerated family \({\mathbb {X}}\) contains at least one quadruple \((\widetilde{{\mathcal {D}}}_1,\widetilde{{\mathcal {D}}}_2,\widetilde{{\mathcal {C}}}_1,\widetilde{{\mathcal {C}}}_2)\) satisfying the following:

  1. (i)

    \({\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1\cap \widetilde{{\mathcal {D}}}_2)\le {{\hat{\epsilon }}}\widetilde{W}\);

  2. (ii)

    \({\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1)\le \frac{19}{20}\widetilde{W}\) and \({\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_2)\le \frac{19}{20}\widetilde{W}\); and

  3. (iii)

    \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1\)r-covers \({\mathcal {C}}_1\) and \({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_2\)r-covers \({\mathcal {C}}_2\).

In particular, in one iteration of the second loop the algorithm correctly fixes such a quadruple and proceeds with it. From now on we continue under this assumption.

Having fixed \({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\) and \((\widetilde{{\mathcal {D}}}_1,\widetilde{{\mathcal {D}}}_2,\widetilde{{\mathcal {C}}}_1,\widetilde{{\mathcal {C}}}_2)\), the algorithm recursively calls itself on instances \((G,\widetilde{{\mathcal {D}}}_1,\widetilde{{\mathcal {C}}}_1,r)\) and \((G,\widetilde{{\mathcal {D}}}_2,\widetilde{{\mathcal {C}}}_2,r)\), yielding families \(\widetilde{{\mathcal {F}}}_1\subseteq \widetilde{{\mathcal {D}}}_1\) and \(\widetilde{{\mathcal {F}}}_2\subseteq \widetilde{{\mathcal {D}}}_2\). By property (ii), we have that

$$\begin{aligned} {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i)\le (19/20)\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}})\le (19/20)^{d+1}\cdot W, \end{aligned}$$

for \(i\in \{1,2\}\). As the recursive subcalls to instances \((G,\widetilde{{\mathcal {D}}}_i,\widetilde{{\mathcal {C}}}_i,r)\) are at level \(d+1\) in the recursion tree, and due to property (iii), by the induction assumption we infer that \(\widetilde{{\mathcal {F}}}_i\ne \bot \) and

$$\begin{aligned} {\mathbf {w}}(\widetilde{{\mathcal {F}}}_i)\le (1+2(d^{\prime}-1){{\hat{\epsilon }}})\cdot {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_i), \end{aligned}$$
(7)

for \(i\in \{1,2\}\). By property (i), we have that

$$\begin{aligned}&{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1)+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_2)\nonumber \\&\quad = {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}^{\prime})+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1\cap \widetilde{{\mathcal {D}}}_2)\nonumber \\&\quad = {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}})+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1\cap \widetilde{{\mathcal {D}}}_2)\nonumber \\&\quad \le \widetilde{W}+{{\hat{\epsilon }}}\widetilde{W}= (1+{{\hat{\epsilon }}})\widetilde{W}. \end{aligned}$$
(8)

Recall that the algorithm returns a solution of weight not larger than the weight of \(\widetilde{{\mathcal {F}}}={\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}}\cup \widetilde{{\mathcal {F}}}_1\cup \widetilde{{\mathcal {F}}}_2\). By combining (7) with (8) we have

$$\begin{aligned} {\mathbf {w}}(\widetilde{{\mathcal {F}}})\le & {} {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+{\mathbf {w}}(\widetilde{{\mathcal {F}}}_1)+{\mathbf {w}}(\widetilde{{\mathcal {F}}}_2) \\\le & {} {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+(1+2(d^{\prime}-1){{\hat{\epsilon }}})\cdot \left( {\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1)+{\mathbf {w}}({\mathcal {F}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_2)\right) \\\le & {} (1+2(d^{\prime}-1){{\hat{\epsilon }}})\cdot \left( {\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{\mathrm {hv}}})+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_1)+{\mathbf {w}}({\widetilde{{\mathcal {F}}}}_{{{\mathrm {OPT}}}}\cap \widetilde{{\mathcal {D}}}_2)\right) \\\le & {} (1+2(d^{\prime}-1){{\hat{\epsilon }}})(1+{{\hat{\epsilon }}})\widetilde{W}\le (1+2d^{\prime}{{\hat{\epsilon }}})\widetilde{W}, \end{aligned}$$

where the last inequality follows from \(2(d^{\prime}-1){{\hat{\epsilon }}}^2\le {{\hat{\epsilon }}}\), which is true for \(d^{\prime}\le d_{\max }\le \frac{1}{40{{\hat{\epsilon }}}}\). This concludes the proof. □

This finishes the proof of Theorem 2.