Computing Maximum Independent Set on Outerstring Graphs and Their Relatives
Prosenjit Bose, Paz Carmi, J. Mark Keil, Anil Maheshwari, Saeed, Mehrabi, Debajyoti Mondal, and Michiel Smid

TL;DR
This paper investigates the computational complexity of the Maximum Independent Set problem on various classes of outerstring graphs, providing new algorithms, complexity bounds, and approximation results for these geometric intersection graphs.
Contribution
It establishes the hardness of MIS on grounded segment and square-L representations, provides an optimal quadratic-time algorithm for certain string representations under SETH, and improves approximation algorithms for L-shape intersection graphs.
Findings
MIS on grounded segment and square-L representations is as hard as on circle graphs.
An $O(n^2)$-time algorithm for MIS on y-monotone polygonal paths with constant length.
A $(4 imes ext{log } OPT)$-approximation for MIS on L-shapes, improving previous bounds.
Abstract
A graph with vertices is called an outerstring graph if it has an intersection representation of a set of curves inside a disk such that one endpoint of every curve is attached to the boundary of the disk. Given an outerstring graph representation, the Maximum Independent Set (MIS) problem of the underlying graph can be computed in time, where is the number of segments in the representation (Keil et al., Comput. Geom., 60:19--25, 2017). If the strings are of constant size (e.g., line segments, L-shapes, etc.), then the algorithm takes time. In this paper, we examine the fine-grained complexity of the MIS problem on some well-known outerstring representations. We show that solving the MIS problem on grounded segment and grounded square-L representations is at least as hard as solving MIS on circle graph representations. Note that noā¦
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Computing Maximum Independent Set on Outerstring Graphs and Their Relatives
Prosenjit Bose
Paz Carmi
J. Mark Keil
Anil Maheshwari
Saeed Mehrabi
Debajyoti Mondal
Michiel Smid
School of Computer Science, Carleton University, Ottawa, Canada.
Department of Computer Science, Ben-Gurion University of the Negev, Beer-Sheva, Israel.
Department of Computer Science, University of Saskatchewan, Saskatoon, Canada.
Abstract
A graph with vertices is called an outerstring graph if it has an intersection representation with a set of curves inside a disk such that one endpoint of every curve is attached to the boundary of the disk. Given an outerstring graph representation of with segments, a Maximum Independent Set () of can be computed in time (Keil et al., Comput. Geom., 60:19ā25, 2017).
We examine the fine-grained complexity of the problem on some well-known outerstring representations (e.g., line segments, -shapes, etc.), where the strings are of constant size. We show that computing on grounded segment and grounded square- representations is at least as hard as computing on circle graph representations. Note that no -time algorithm, , is known for computing on circle graphs. For the grounded string representations, where the strings are -monotone simple polygonal paths of constant length with segments at integral coordinates, we solve in time and show this to be the best possible under the Strong Exponential Time Hypothesis. For the intersection graph of -shapes in the plane, we give a -approximation algorithm for (where denotes the size of an optimal solution), improving the previously best-known -approximation algorithm of Biedl and Derka (WADS 2017).
keywords:
Maximum independent set problem; Outerstring graphs; Fine-grained complexity; Circle graphs.
mytitlenotemytitlenotefootnotetext: A preliminary version of this paper appeared in the 16th International Symposium on Algorithms and Data Structures (WADS 2019)Ā [7]. Research of Prosenjit Bose, Anil Maheshwari, Debajyoti Mondal and Michiel Smid is supported in part by NSERC. Part of this work was done when Saeed Mehrabi was visiting the University of Saskatchewan.
1 Introduction
Let be an undirected graph with . The graph is weighted if each vertex in is associated with a non-negative value, called its weight. A set is an independent set if no two vertices in are adjacent. The objective of the Maximum Independent Set () problem is to compute a maximum-cardinality independent set of . The weighted problem seeks for an independent set that maximizes the sum of the weights of the vertices in . The problem is -hard and it is known that no approximation algorithm with approximation factor within is possible for any , unless Ā [19]. The inapproximability of the problem has motivated a rich body of research to study the problem on the intersection graphs of geometric objects.
Let be a set of geometric objects in the plane. Then the intersection graph of has the objects in as its vertices and two vertices are adjacent in the graph if and only if . If is a set of curves in the plane (resp., a set of chords of a circle), then the intersection graph of is called a string graph (resp., circle graph); see FigureĀ 1(bāc) for an example.
1.1 Background
Here we briefly review the related research on computing for various classes of intersection graphs, which motivated our work.
The problem is NP-hard for string graphs, even when the strings are straight line segmentsĀ [24]. For string graphs with any two strings intersecting at most a constant number of times, Fox and PachĀ [14] gave an approximation algorithm with an approximation factor of . The problem has been studied on intersection graphs of other geometric objects such as disks and squaresĀ [12], rectanglesĀ [9], general convex objectsĀ [1], and pseudo-disksĀ [10].
In this paper we examine the problem on the class of outerstring graphs, which is defined as follows.
Definition 1** (Outerstring GraphĀ [23])**
Graph is called an outerstring graph if it is an intersection graph of a set of curves that lie inside a disk such that each curve intersects the boundary of the disk in one of its endpoints.
FigureĀ 1(d) shows an example of an outerstring graph. A string representation of a graph is called grounded, if one endpoint of each string is attached to a grounding line and all strings lie on one side of . For example, a graph is called a grounded segment graph, if it is the intersection graph of a set of segments such that each segment is attached to a grounding line at one of its endpoints and all segments lie on one side of ; see FigureĀ 1(e).
We will relate the time-complexity of computing in outerstring graphs to the time-complexity of computing in circle graph representations. GavrilĀ [16] presented an -time algorithm for solving the problem on circle graphs. Subsequent improvement reduced the time complexity to Ā [31, 3]. Several algorithms exist with running time sensitive to various graph parameters, e.g., timeĀ [2, 32], or timeĀ [30]. Here is a parameter known as the density of the circle graph, and is the independence number of the circle graph. However, no truly subquadratic-time algorithm (i.e., an -time algorithm where ) is known for the problem on circle graphs.
Although recognizing an intersection graph may require time (since there could be edges), the problem can be solved faster if an intersection representation is given. For example, in an interval graph representation can be computed in timeĀ [15]. Although recognizing grounded segment graphs is -completeĀ [8], given an outerstring representation with strings as polygonal chains of straight line segments, one can solve the weighted problem in time, where is the number of segments in the representationĀ [22]. For grounded segment graphs, this yields a time complexity of , where is the number of vertices in the grounded segment graph. Although the strings in a grounded segment graph are straight line segments, no faster algorithm is known for this case. Thus a natural question is to ask whether one can prove non-trivial lower bounds on the time complexity of the problem for outerstring graphs or simpler variants of such graphs.
An -shape is the union of a vertical segment and a horizontal segment that share an endpoint; hence, there are four possible types of -shapes: . A graph is called a B1-VPG graph if it is the intersection graph of a set of -shapes in the plane. This class of string graphs belongs to a larger class called the Vertex intersection of Paths on a Grid (VPG) and denoted by Bk-VPG, where indicates the maximum number of bends each path can have in the grid representationĀ [4]. These graphs and their relatives have been studied extensively in terms of recognition problems (e.g., seeĀ [18, 13, 11, 4]). Recently, there has been an increasing attention on studying optimization problems on these graphs; seeĀ [5, 27, 6, 28] and the references therein. For the problem, it is known that the problem is -hard on Bk-VPG graphs even when and a representation is givenĀ [25]. The previously best-known approximation algorithms (for the problem on B1-VPG graphs) have factor Ā [6, 28]. Combining B1-VPG and grounded string graphs, we consider the problem on grounded and grounded square- graphs.
Definition 2** (Grounded and Grounded Square- Graphs.)**
A graph is called a grounded graph if is the intersection graph of a set of -shapes such that each -shape is of type and the lower endpoint of the vertical segment of each -shape is attached to a grounding line . If the vertical and horizontal segments of every -shape in a grounded representation of have the same length, then we call a grounded square- graph.
See FigureĀ 1(fāg) for examples of these graphs. Finally, for the problem on a set of rectangles, Chalermsook and ChuzhoyĀ [9] gave a -approximation algorithm for the unweighted version of the problem. For the weighted version of the problem, the best approximation factor is due to Chan and Har-PeledĀ [10]. A collection of geometric objects in the plane are called pseudo-disks if for every pair of these objects, the boundaries intersect at most twice. For pseudo-disks in the plane, there exists a PTAS for the unweighted case and a constant-factor approximation for the weighted caseĀ [10]. Thus for restricted cases, where a set of -shapes in the plane can be extended to form a collection of pseudo-disks that represents the same intersection graph, one can leverage these algorithms to compute approximate solutions.
1.2 Contributions
We now summarize our contribution in ā.
C1 (SectionĀ 2)
We first examine the time-complexity of the problem on the grounded segment graphs with respect to its relation to the problem in circle graphs. Middendorf and PfeifferĀ [29] showed that every intersection graph of -shapes of types and (not necessarily grounded) can be transformed into a segment representation. If the -shapes are grounded, then the transformation yields a grounded segment graph. Since every circle graph is a grounded graphĀ [21], they are also grounded segment graphs. However, the transformationĀ [29] into the grounded segment representation is by an inductive proof, and it is unclear whether the constructed representation can be encoded in a subquadratic number of bits. We show that the problem in a circle graph representation is -time reducible to the problem in an implicit representation of a grounded segment graph, where the representation takes bits. This indicates that solving in such grounded segment representations is as hard as solving in circle graph representations.
C2 (SectionsĀ 3ā4)
Since grounded graphs include circle graphs, we examined a simpler variant: grounded square- graphs. We show that there exist grounded square- graphs (resp., grounded graphs) that are not circle graphs (resp., grounded square- graphs). Although grounded square- is a simpler variant, we prove that it includes the circle graphs. In fact, we give an -time reduction, showing that in grounded square- representations is at least as hard as in circle graph representations under the assumption that finding an in circle graph requires time. In contrast, for the grounded string representations where the strings are -monotone simple polygonal paths of constant length with segments at integral coordinates, we can solve in time. Assuming the Strong Exponential Time Hypothesis (SETH)Ā [20], we show that the problem on an outerstring representation with strings cannot be solved in time, even when each string has one bend.
C3 (SectionĀ 5)
We give a -approximation algorithm for the weighted problem on the intersection graph of a set of -shapes in the plane. This improves the previously best-known algorithm, which has an approximation factor of Ā [6, 28]. Moreover, our algorithm can be used to obtain a simple -approximation algorithm for the weighted problem on a set of axis-parallel rectangles in the plane.
2 on Grounded Segment Representations
In this section, we show that the problem in a circle graph representation is -time reducible to the problem in a representation of a grounded segment graph, where the representation takes bits. This indicates that solving on grounded segment representations could be as hard as solving on circle graph representations.
An overlap graph is an intersection graph of intervals, where two vertices are adjacent if and only if their corresponding intervals properly intersect (i.e., the intersection is non-empty but neither interval contains the other). GavrilĀ [16] showed that a graph is a circle graph if and only if it is an overlap graph. Given the circle graph representation, one can find an overlap representation in linear time by computing the shadow of each chord on a horizontal line below the circle, assuming the point light source is at the apex of the circle as illustrated in FigureĀ 2(aāc). We now show that the overlap representation can be transformed into a grounded segment representation in time.
We assume that the circle graph representation is non-degenerate, i.e., no two chords share a common endpoint. Consequently, the overlap representation is also non-degenerate. We now sort the endpoints of the intervals and relabel them with integral coordinates. For each interval in the overlap graph, we define a line segment with coordinates . Note that all the segments are grounded at the line ; i.e., line in FigureĀ 2(d). Moreover, it is straightforward to encode the representation implicitly in bits (note that an explicit representation would require bits). Let the resulting representation be . In the proof of the following theorem we show that is the required grounded segment representation.
Theorem 1
Given a circle graph representation with chords, in time one can transform it into an implicit grounded segment representation, which uses bits. Thus, the problem on grounded segment representations is at least as hard as the problem on circle graph representations.
Proof 1
Consider the representation constructed from the overlap representation of the circle graph. It is straightforward to observe that if two intervals do not intersect in the overlap graph, then the corresponding segments do not intersect in . We now need to prove that if two intervals properly intersect, then the corresponding segments intersect in ; otherwise, one interval contains the other and the segments do not intersect in .
Let and be two intervals that properly intersect; i.e., , and let and be the corresponding segments. Note that intersects the line at height . Hence, will intersect if it intersects the line at the same or a higher point. Therefore, we need to show that \frac{2^{\color[rgb]{0,0,0}\ell}}{{\color[rgb]{0,0,0}\ell}-k}(j-k)\geq 2^{j} holds. Observe that
[TABLE]
Since and , the above condition will hold for any integral , and hence the segments will intersect.
Finally, if the interval contains the interval , i.e., , then the height of at is , whereas the height of is . Since , for any integral , the height of at will be larger than that of . Hence, the segments will not intersect.Ā
3 on Grounded Square- Representations
In this section, we show that solving in a circle graph representation is -time reducible to solving in a grounded square- representation.
Given a circle graph representation, we first compute the corresponding overlap graph in the same way as we did in SectionĀ 2, and relabel the endpoints with integral coordinates from [math] to . Since we assume the circle graph representation to be non-degenerate, no two endpoints in the overlap graph share the same -coordinate.
We now transform this into a grounded square- representation. The idea is to process the intervals in the order of their endpoints, and sometimes shifting the endpoints by a certain offset to avoid unnecessary crossings. We now give a formal description of the steps of the construction by ā.
Step . Initialize an empty list , and then process the intervals in the increasing order of the -coordinates of their left endpoints. At the end of the processing, will contain a set of tuples that correspond to a set of disjoint intervals. Each tuple is of the form , where is an interval and is an offset to be used later to create intermediate space between pairs of intervals. We now describe how to process an interval.
While processing an interval , we first find the closest non-intersecting interval to the left of . If no such interval exists, then we continue processing the next interval. Otherwise, let be the tuple at the end of the list (assume a dummy tuple if the list is empty). If , then append a new tuple ) to .
Step . For each pair of consecutive tuples and in , update the -coordinates of the endpoints originally lying in [A_{r}+1,{\color[rgb]{0,0,0}B_{r}}] by adding the integer . Later, we will use these updated -coordinates to construct the -shapes. A spacing of would ensure that the -shapes corresponding to and will remain disjoint. Finally, for the last tuple , update the -coordinates of the endpoints originally lying in , by adding the integer . FigureĀ 3(aāb) illustrate this step.
Step . For each interval in the increasing order of their left endpoints, construct a square- shape with endpoints and , and create the bend point at . See FigureĀ 3(c).
By , it is straightforward to see that all the shapes are grounded on the line . Let be the resulting grounded square- representation. The following lemma claims the correctness of the representation.
Lemma 2
The graph represented by is the same as the graph represented by the overlap representation.
Proof 2
Let be the graph corresponding to the input overlap representation. Let be the subgraph of induced by the first intervals processed in . Let be the drawing obtained after processing these intervals. It now suffices to prove that is a grounded square- representation of .
In the base case when is trivial, i.e., the graph consists of a single interval and in , we construct a single square-. We now assume that the claim holds for , where . Let be the th interval and be an interval processed before . Let and be the corresponding vertices in , and let be the modified intervals (computed in ). For any interval , let be the square- shape constructed as in . We now consider the following cases.
Case 1 ( and are adjacent in ): In this case and properly intersect; i.e., neither contains the other. Let be the closest non-overlapping interval to the left of . In , any interval having an endpoint between will be shifted together with . Thus the intersections of these modified intervals with remain valid. All the other intervals who were intersecting but did not have an endpoint in will also have their right endpoint shifted in . Hence must properly intersect . We now show that the shift in keeps the ordering of the intervals in intact.
Consider a pair of vertices in in , and let and be their corresponding intervals. Let and be the modified intervals in .
If and are adjacent, then and must properly intersect. The endpoints of and can only get extended to the right, and if so, then they must shift by the same amount. Hence, and must maintain the endpoint orders after the shift, and and must intersect.
Now consider the case when and are not adjacent. If one of and contains the other, then the same argument holds. If neither contains the other, then the offset may only increase their distance. Therefore, if and do not intersect, then and cannot intersect.
Case 2 ( and are non-adjacent in ): In this case either and do not intersect, or contains (note that cannot contain ).
First assume that contains . Since the shift in does not change the relative order of the interval endpoints, must contain . From the coordinate computations of the -shapes in , it is straightforward to observe that and do not intersect.
Assume now that and do not intersect. Recall that has been processed after . While we processed in , we first computed the closest interval to the left of . Hence . In , we ensured that the endpoints of are shifted to the right by at least an amount of . Here, corresponds to the overall shift to accommodate the segments that were processed before , and the term is to avoid the crossing between and . Since , and cannot intersect. Using the argument of Case 1, observe that such shifting still maintains a valid representation for .Ā
Theorem 3
Given a circle graph representation with chords, in time one can transform it into a grounded square- representation. Thus, the problem on grounded square- representations is at least as hard as the problem on circle graph representations.
Proof 3
By LemmaĀ 2, one can construct the required grounded square- representation by following ā. We compute two sorted arrays, one for the left endpoints and the other for the right endpoints of the intervals in the overlap representation. The sorting takes time. We use these arrays to find the closest non-intersecting interval in step in time by performing a binary search. We need only such searches, and hence time in total. Steps ā iterate over all the intervals, and hence take time. Therefore, the running time of the overall transformation is bounded by .Ā
Our reduction shows that every circle graph is a grounded square- graph. However, the reverse is not true. Even, there are grounded graphs that are not grounded square- graphs.
Theorem 4
There are grounded square- graphs that are not circle graphs. Moreover, there are grounded graphs that are not grounded square- graphs.
Proof 4
We first show that not all grounded square- graphs are circle graphs. For a graph , let denote the graph obtained from by adding a new vertex to the graph and connecting it to every vertex of ; it is known that is a permutation graph if and only if is a circle graphĀ [17]. Now, consider the graph shown in FigureĀ 4(a). LimouzyĀ [26] proved that is not a permutation graph. Consequently, the graph (shown in FigureĀ 4(b)) is not a circle graph. However, a grounded square- representation of is shown in FigureĀ 4(c).
We now show that there are grounded graphs that are not grounded square- graph. To this end, we show that (i.e., the wheel graph of order 5 as shown in FigureĀ 5(a)) is a grounded graph, but not a grounded square- graph.
A grounded graph representation of is shown in FigureĀ 5(b). Suppose now for a contradiction that shown in FigureĀ 5(a) has a grounded square- graph representation. The idea is to first explore possible square- representations of the 5-cycle on the outerface of , and then show that one cannot add the -shape corresponding to the central vertex in these representations.
Consider the set of -shapes induced by the 5-cycle on the outerface and assume w.l.o.g. that is the highest -shape. Since is the highest -shape, both of its adjacent -shapes and must intersect from the left in such a way that and do not intersect each other. Assuming w.l.o.g. that is to the left of . We now distinguish two cases considering whether intersects the horizontal or the vertical segment of .
Case 1 ( intersects the vertical segment of ): In this case, must be to the left of , as shown in FigureĀ 5(c). Then one can check that the only possibility for the -shape is to be between and . This gives us a square- representation of the outerface of . We now show that the -shape cannot be added in this representation to intersect all other -shapes.
If is to the left of , then to intersect , must have a height smaller than that of . Consequently, cannot intersect . Therefore, must be to the right of . If the height of is smaller than that of , then cannot intersect . If the height of is larger than that of , then cannot intersect both and at the same time. Hence we cannot add to complete a square- representation of .
**Case 2 ( intersects the horizontal segment of ): Note that is the highest -shape and must not intersect . Hence must be to the right of , as shown in FigureĀ 5(d). Since the -shape does not intersect but intersects both and , it must be positioned between and . This gives us a square- representation of the outerface of . We now show that the -shape cannot be added in this representation to intersect all other -shapes. **
If is to the left of , then to intersect , must have a height smaller than that of . Consequently, cannot intersect . Therefore, must be to the right of and intersect the horizontal segment of both and . In this scenario, if lies to the left of , then cannot intersect . If lies to the right of then cannot intersect both and at the same time. Hence we cannot add to complete a square- representation of .Ā
4 Representations with Bounded-Length Integral Shapes
In this section, we consider string representations where the strings are -monotone (not necessarily strictly monotone) polygonal paths, the length of each string is bounded by a constant , and all the bends and endpoints are on integral coordinates. We show that the problem on such representations can be computed in time, and this is best possible under the Strong Exponential Time Hypothesis.
4.1 An -time Algorithm
Here we describe the -time algorithm. For simplicity, we first examine the case when each string is an -shape of type . Denote by an axis-aligned simple -monotone (not necessarily strictly monotone) polygonal path that satisfies the following three constraints:
- (a)
starts at point , and ends at a point on the line . 2. (b)
contains at most bends, and 3. (c)
the length of each line segment in is bounded by .
Then the number of such distinct strings can be at most (since is a constant). Denote the set of such strings by .
We employ a dynamic programming technique, where we express a subproblem with two points on the grounding line and two monotone paths and . FigureĀ 6(a) illustrates a subproblem . The subproblem contains all the -shapes of the given representation that are in the region between and . The left side of the region is open and the right side is closed, hence the -shape that starts at must be excluded. While constructing subproblems, we will ensure that and belong to the set of grounding points on the grounding line. The initial problem can be expressed as , where is a grounding point of a dummy -shape lying to the left of all the -shapes, and is the grounding point of the rightmost -shape. and are two strings that bound all the -shapes in between.
Given a problem of the form , we first find a grounding point at the median position among the distinct grounding points between and , as illustrated in FigureĀ 6(b). Note that -shapes can share grounding points, and we only consider the distinct points while considering the median point. If coincides with , then we have the base case where all the -shapes start at . We thus return 1 or 0 depending on whether there exists a -shape in the region between and (this takes time). Otherwise, we compute the solution using the following recurrence relation.
[TABLE]
To verify the correctness of the recurrence relation, observe that any independent set of can be partitioned by a string in . The size of the dynamic programming table is bounded by , where the first term comes from the choices for and , and the term corresponds to the possible choices for and . Computing a base case requires time. In the base case, and are consecutive on the ground line, and hence there can be at most distinct base cases, requiring time in total. Computing an entry in the general case requires time (using constant time table look-up). Hence the running time for the general case is also bounded by in total.
Although we described the algorithm for -shapes, it is straightforward to generalize the algorithm for -monotone strings, as illustrated in FigureĀ 6(c)ā(d). The only difference is that we need to define as a simple -monotone path. The following theorem summarizes the results of this section.
Theorem 5
Let be a string representation such that the strings are -monotone (not necessarily strict), the length of each string is bounded by a constant, and all the bends and endpoints are on integral coordinates. Then the problem in can be solved in time.
4.2 Lower Bound
The Strong Exponential Time Hypothesis (SETH), introduced by Impagliazzo et al.Ā [20], has been used to analyze fine-grained time-complexity of problems that lie in P. Under SETH, CNF-SAT on variables cannot be solved in time, where . The following theorem sates that under SETH, finding in outerstring graphs requires time.
Theorem 6
Assuming SETH, computing an in an outerstring representation with strings requires time, even when each string contains bends.
Proof 5
*Given an instance of CNF-SAT with variables and clauses, we will construct an outerstring representation with strings such that admits an affirmative answer if and only if the constructed outerstring representation contains an independent set of size . The construction of the outerstring representation would take time. Note that the size of the outerstring representation is . Assume now that there exists an algorithm, where , for the MIS problem in an outerstring representation. Then we can find a satisfying assignment for in time, where . This is a contradiction to our SETH assumption. *
Construction of the outerstring representation: The idea of the construction is as follows. We first partition the variables of into two sets and . Note that the variables in can have different truth assignments. We then construct the outerstrings that correspond two these truth assignments on the left halfplane of the line. Finally, we construct the outerstrings for the set on the right halfplane of line symmetrically. We now describe the details.
Let be the clauses in , and denote by the āclause-pointā the point , where is a positive constant. Let , where , be the truth value assignments for the variables in . For , assign intervals , each of length , consecutively on the grounding line, as illustrated in FigureĀ 7. If the assignment corresponding to satisfies a set of clauses, then we will create outerstrings that start at , and each connects to a distinct clause in . It is straightforward to ensure that the strings lie on the left half-plane of , and do not intersect themselves. For each string, we create a bend on the line so that for any , where , the strings that originate from intersect those that originate from . We construct the strings for the truth assignments for the variables of symmetrically. Let be the resulting representation.
From an independent set to a satisfying assignment: We now show that an of size on corresponds to an affirmative solution to . Without loss of generality assume that the contains a string that starts at some . Assume that satisfies clauses of . We take as the assignment for the variables in . If , then we can choose any assignment for the variables in . Otherwise, . Since the size of is , there must be strings on the right-halfplane in the solution that correspond to the remaining set of clauses of . Furthermore, all these strings correspond to exactly one truth assignment for the variables of . We thus obtain a truth assignment for the variables of that together with , satisfies all the clauses.
From a satisfying assignment to an independent set: If admits an affirmative answer, then the corresponding assignment of the variables on and will correspond to two intervals and to the left and right half-planes of , respectively. Since these assignments together satisfy all the clauses, choosing all the strings from , and all from except those that intersect the ones from , will give an independent set of size .Ā
5 A -Approximation Algorithm
In this section, we give a -approximation algorithm for the problem on the intersection graph of a set of -shapes. To this end, we first give a -approximation algorithm for the problem when the input consist of only -shapes of type . We discuss the generalization of our algorithm to the weighted version of the problem and for approximating the problem on rectangles at the end of this section.
Consider the input -shapes from left to right in the increasing order of the -coordinate of their vertical segment; we denote the th -shape in this ordering by . For any , we define as the set of -shapes such that (i) , and (ii) does not intersect the line through the vertical segment of . We add a dummy -shape far to the right such that no input -shape intersects the line through the vertical segment of ; thus, is the set of all input -shapes. Moreover, let denote the size of an optimal solution for the problem on the set of -shapes in ; we denote simply by . Let denote the set of -shapes that intersects the line through the vertical segment of . Moreover, let be the size of an optimal solution for the problem on the intersection graph induced by the -shapes in .
We define as the size of the solution returned by our algorithm on the -shapes in , for all . Initially, for every pair , if , then we set . Then for every pair , we check to see if ; if so, then we directly store in . Otherwise, we compute as follows.
[TABLE]
The algorithm returns as the solution. Computing the actual solution can be done in the standard manner; to this end, we also store the corresponding value of in .
Approximation factor
To show the approximation factor, let be the set of -shapes in . If , then we have . We now prove by induction that for all , if , then . Suppose that for all for which . Let be the index such that is the median of the -shapes in (i.e., each and contains at most -shapes). Notice that
[TABLE]
Now, if , then we know that . Otherwise, by the induction hypothesis, we have
[TABLE]
Similarly, if , then we know that . Otherwise, by the induction hypothesis, we have
[TABLE]
Therefore,
[TABLE]
The first inequality is because our algorithm tries all values of , which includes . Moreover, the second inequality is because ofĀ (3), (2) andĀ (1). Now, if , then we are done. Otherwise,
[TABLE]
This completes the proof of the induction step. By setting and , we have .
Running time
We determine whether for all in time, as follows. We first enumerate all subsets of -shapes of size 5. Assume that the -shapes of such a subset form an independent set and let and be the leftmost and rightmost -shapes. Then must be larger than and we mark the pair . We now enumerate all subsets of -shapes of size at most 4. If such a subset is independent and corresponds to a pair , then we check whether this pair is already marked. If it is marked, then . Otherwise, we set to be . Hence at the end of this process, for every , if , then stores .
We now consider computation of . For a fixed triple and , we can compute in time because the corresponding graph is an outerstring graph for which can be solved in timeĀ [22]. Since there are choices for for a fixed pair of and , and entries in the table for and , the overall running time of the algorithm is . We next show how to improve the running time to by performing the following preprocessing. For a fixed triple and , we first compute and store the value in a table , and will then do one look-up when computing the corresponding table entry of . To this end, we first note that index is irrelevant for computing because for a fixed and , the set of -shapes is the same for all . Therefore, for all pairs , we compute using the algorithm of Keil et al.Ā [22] and store it in . Since their algorithm takes and there are entries for , the preprocessing step takes overall time. Consequently, this improves the overall running time of computing the entries of table to and so we have the following lemma.
Lemma 7
There exists an -time -approximation algorithm for the problem on a set of -shapes of type , where denotes the size of an optimal solution.
When the input consists of all four types of -shapes, we run the algorithm of LemmaĀ 7 four times (once for each type of the input -shapes), and then return the largest solution as the final answer. Clearly, this gives us a -approximation algorithm for the original problem and so we have the main result of this section.
Theorem 8
There exists an -time -approximation algorithm for the problem on any set of -shapes, where denotes the size of an optimal solution.
Generalizations
Our algorithm can be generalized in two ways: for the weighted version of the problem on -shapes, and for the weighted problem on axis-parallel rectangles.
Theorem 9
There exists an -time -approximation algorithm (resp., an -time -approximation algorithm) for the weighted problem on any set of -shapes (resp., a set of axis-parallel rectangles in the plane), where is the size of an optimal solution.
Proof 6
Suppose that each -shape has a weight, that is greater than or equal to 1. To apply our algorithm, we now use the āweightedā median of the -shapes in . Moreover, the algorithm of Keil et al.Ā [22] for the problem on outerstring graphs works for weighted outerstring graphs as well. Finally, we can still compute the optimal solution for the weighted problem when for all . Hence, we have an -time -approximation algorithm for the weighted problem.
Next, we show that our algorithm can also be applied to get a -approximation algorithm for the weighted on the intersection graph of a set of axis-parallel rectangles in the plane. To see this, we sort the rectangles from left to right by the increasing order of the -coordinate of their left sides, and consider the weighted median. Moreover, we can still compute the optimal solution for the weighted problem when for all . To solve the problem on the rectangles in , notice that the intersection graph induced by the rectangles in is equivalent to the interval graph obtained by projecting each rectangle of onto the vertical line through the left side of , the th rectangle in the ordering. Hence, we can solve the weighted on the rectangles in in time (given an ordering of these rectangles). The latter improves the overall running time of the algorithm in TheoremĀ 8 to because we can now compute all the entries of table in overall time. Finally, since we have only one type of input rectangles, we do not need to apply our algorithm four times in the case of rectangles and so we have a -approximation algorithm. This completes the proof of the theorem.Ā
We note that for the case of rectangles, our -approximation algorithm provides a somewhat simpler algorithm than the one that can be obtained (with the same approximation factor) from the -approximation algorithm of Chan and Har-PeledĀ [10].
6 Conclusion
In this paper, we studied the fine-grained complexity and approximability of the problem on outerstring graphs and their relatives. Our work gives rise to some natural open questions:
Does there exist a quadratic-time algorithm that can solve the problem on grounded segment or grounded square- graphs? 2. 2.
Can we improve the approximation factor of the algorithm of TheoremĀ 8? 3. 3.
Can we find an -time lower bound under SETH for finding in grounded segment representations?
Acknowledgements
We thank the anonymous reviewers for their helpful comments and suggestions, which improved the presentation of the paper.
References
- [1]
PankajĀ K. Agarwal and NabilĀ H. Mustafa.
Independent set of intersection graphs of convex objects in 2d.
Comput. Geom., 34(2):83ā95, 2006.
- [2]
Alberto Apostolico, MikhailĀ J. Atallah, and SusanneĀ E. Hambrusch.
New clique and independent set algorithms for circle graphs.
Discrete Applied Mathematics, 36(1):1ā24, 1992.
- [3]
T.Ā Asano, H.Ā Imai, and A.Ā Mukaiyama.
Finding a maximum weight independent set of a circle graph.
IEICE Transactions, E74(4):681ā683, 1991.
- [4]
Andrei Asinowski, Elad Cohen, MartinĀ Charles Golumbic, Vincent Limouzy, Marina Lipshteyn, and Michal Stern.
Vertex intersection graphs of paths on a grid.
J. Graph Algorithms Appl., 16(2):129ā150, 2012.
- [5]
Sayan Bandyapadhyay, Anil Maheshwari, Saeed Mehrabi, and Subhash Suri.
Approximating dominating set on intersection graphs of rectangles and L-frames.
In proceedings of the 43rd International Symposium on Mathematical Foundations of Computer Science (MFCS 2018), Liverpool, UK, pages 37:1ā37:15, 2018.
- [6]
ThereseĀ C. Biedl and Martin Derka.
Splitting B2-VPG graphs into outer-string and co-comparability graphs.
In proceedings of the 15th International Symposium on Algorithms and Data Structures (WADS 2017), St. Johnās, NL, Canada, pages 157ā168, 2017.
- [7]
Prosenjit Bose, Paz Carmi, J.Ā Mark Keil, Anil Maheshwari, Saeed Mehrabi, Debajyoti Mondal, and Michiel H.Ā M. Smid.
Computing maximum independent set on outerstring graphs and their relatives.
In proceedings of the 16th International Symposium on Algorithms and Data Structures (WADS 2019), Edmonton, Canada., 2019.
- [8]
Jean Cardinal, Stefan Felsner, Tillmann Miltzow, Casey Tompkins, and Birgit Vogtenhuber.
Intersection graphs of rays and grounded segments.
J. Graph Algorithms Appl., 22(2):273ā295, 2018.
- [9]
Parinya Chalermsook and Julia Chuzhoy.
Maximum independent set of rectangles.
In proceedings of the 20th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2009), New York, NY, USA, pages 892ā901, 2009.
- [10]
TimothyĀ M. Chan and Sariel Har-Peled.
Approximation algorithms for maximum independent set of pseudo-disks.
Discrete & Computational Geometry, 48(2):373ā392, 2012.
- [11]
Steven Chaplick, VĆt JelĆnek, Jan KratochvĆl, and TomĆ”s Vyskocil.
Bend-bounded path intersection graphs: Sausages, noodles, and waffles on a grill.
In proceedings of the 38th International Workshop on Graph-Theoretic Concepts in Computer Science (WG 2012), Jerusalem, Israel, pages 274ā285, 2012.
- [12]
Thomas Erlebach, Klaus Jansen, and Eike Seidel.
Polynomial-time approximation schemes for geometric intersection graphs.
SIAM J. Comput., 34(6):1302ā1323, 2005.
- [13]
Stefan Felsner, KoljaĀ B. Knauer, GeorgeĀ B. Mertzios, and Torsten Ueckerdt.
Intersection graphs of L-shapes and segments in the plane.
Discrete Applied Mathematics, 206:48ā55, 2016.
- [14]
Jacob Fox and JƔnos Pach.
Computing the independence number of intersection graphs.
In proceedings of the 22nd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2011), San Francisco, CA, USA, pages 1161ā1165, 2011.
- [15]
AndrƔs Frank.
Some polynomial algorithms for certain graphs and hypergraphs.
In proceedings of the 5th British Combinatorial Conference, 1975.
- [16]
Fanica Gavril.
Algorithms for a maximum clique and a maximum independent set of a circle graph.
Networks, 3:261ā273, 1973.
- [17]
MartinĀ C. Golumbic.
Algorithmic Graph Theory and Perfect Graphs, volume vol. 57.
in: Annals of Discrete Mathematics, North-Holland, Amsterdam, 2nd edition edition, 2004.
- [18]
Daniel GonƧalves, Lucas Isenmann, and Claire Pennarun.
Planar graphs as L-intersection or L-contact graphs.
In proceedings of the 29th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2018), New Orleans, LA, USA, pages 172ā184, 2018.
- [19]
Johan HƄstad.
Clique is hard to approximate within .
In proceedings of the 37th Annual Symposium on Foundations of Computer Science (FOCS 1996), Burlington, Vermont, USA, pages 627ā636, 1996.
- [20]
Russell Impagliazzo, Ramamohan Paturi, and Francis Zane.
Which problems have strongly exponential complexity?
J. Comput. Syst. Sci., 63(4):512ā530, 2001.
- [21]
VĆt JelĆnek and Martin Tƶpfer.
On grounded L-graphs and their relatives.
CoRR, abs/1808.04148, 2018.
- [22]
J.Ā Mark Keil, Joseph S.Ā B. Mitchell, Dinabandhu Pradhan, and Martin Vatshelle.
An algorithm for the maximum weight independent set problem on outerstring graphs.
Comput. Geom., 60:19ā25, 2017.
- [23]
Jan KratochvĆl.
String graphs. I. the number of critical nonstring graphs is infinite.
J. Comb. Theory, Ser. B, 52(1):53ā66, 1991.
- [24]
Jan KratochvĆl and Jaroslav Nesetril.
Independent set and clique problems in intersection-defined classes of graphs.
Comment. Math. Univ. Carolinae, 31(1):85ā93, 1990.
- [25]
Abhiruk Lahiri, Joydeep Mukherjee, and C.Ā R. Subramanian.
Maximum independent set on B1-VPG graphs.
In proceedings of the 9th International Conference Combinatorial Optimization and Applications (COCOA 2015), Houston, TX, USA, pages 633ā646, 2015.
- [26]
Vincent Limouzy.
Seidel minor, permutation graphs and combinatorial properties.
In proceedings of the 21st International Symposium on Algorithms and Computation (ISAAC 2010), pages 194ā205, 2010.
- [27]
Saeed Mehrabi.
Approximating domination on intersection graphs of paths on a grid.
In proceedings of the 15th International Workshop on Approximation and Online Algorithms (WAOA 2017), Vienna, Austria, pages 76ā89, 2017.
- [28]
Saeed Mehrabi.
Approximation algorithms for independence and domination on B-VPG and B-EPG graphs.
CoRR, abs/1702.05633, 2017.
- [29]
Matthias Middendorf and Frank Pfeiffer.
Weakly transitive orientations, Hasse diagrams and string graphs.
Discrete Mathematics, 111(1-3):393ā400, 1993.
- [30]
Nicholas Nash and David Gregg.
An output sensitive algorithm for computing a maximum independent set of a circle graph.
Inf. Process. Lett., 110(16):630ā634, 2010.
- [31]
K.Ā J. Supowit.
Finding a maximum planar subset of a set of nets in a channel.
IEEE Trans. on CAD of Integrated Circuits and Systems, 6(1):93ā94, 1987.
- [32]
Gabriel Valiente.
A new simple algorithm for the maximum-weight independent set problem on circle graphs.
In proceedings of the 14th International Symposium on Algorithms and Computation (ISAAC 2003), Kyoto, Japan, pages 129ā137, 2003.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Pankaj K. Agarwal and Nabil H. Mustafa. Independent set of intersection graphs of convex objects in 2d. Comput. Geom. , 34(2):83ā95, 2006.
- 2[2] Alberto Apostolico, Mikhail J. Atallah, and Susanne E. Hambrusch. New clique and independent set algorithms for circle graphs. Discrete Applied Mathematics , 36(1):1ā24, 1992.
- 3[3] T. Asano, H. Imai, and A. Mukaiyama. Finding a maximum weight independent set of a circle graph. IEICE Transactions , E 74(4):681ā683, 1991.
- 4[4] Andrei Asinowski, Elad Cohen, Martin Charles Golumbic, Vincent Limouzy, Marina Lipshteyn, and Michal Stern. Vertex intersection graphs of paths on a grid. J. Graph Algorithms Appl. , 16(2):129ā150, 2012.
- 5[5] Sayan Bandyapadhyay, Anil Maheshwari, Saeed Mehrabi, and Subhash Suri. Approximating dominating set on intersection graphs of rectangles and L-frames. In proceedings of the 43rd International Symposium on Mathematical Foundations of Computer Science (MFCS 2018), Liverpool, UK , pages 37:1ā37:15, 2018.
- 6[6] Therese C. Biedl and Martin Derka. Splitting B 2 -VPG graphs into outer-string and co-comparability graphs. In proceedings of the 15th International Symposium on Algorithms and Data Structures (WADS 2017), St. Johnās, NL, Canada , pages 157ā168, 2017.
- 7[7] Prosenjit Bose, Paz Carmi, J. Mark Keil, Anil Maheshwari, Saeed Mehrabi, Debajyoti Mondal, and Michiel H. M. Smid. Computing maximum independent set on outerstring graphs and their relatives. In proceedings of the 16th International Symposium on Algorithms and Data Structures (WADS 2019), Edmonton, Canada. , 2019.
- 8[8] Jean Cardinal, Stefan Felsner, Tillmann Miltzow, Casey Tompkins, and Birgit Vogtenhuber. Intersection graphs of rays and grounded segments. J. Graph Algorithms Appl. , 22(2):273ā295, 2018.
