WIPIVERSE All articles

Maximum disjoint set

In computational geometry, a maximum disjoint set (MDS) is a largest set of non-overlapping geometric shapes selected from a given set of candidate shapes. Every set of non-overlapping shapes is an independent set in the intersection graph of the shapes. Therefore, the MDS problem is a special case of the maximum independent set (MIS) problem. Both problems are NP-complete, but finding an MDS may be easier than finding an MIS in two respects: for the general MIS problem, the best known exact algorithms are exponential, whereas some geometric intersection graphs admit sub-exponential algorithms for finding an MDS; and while the general MIS problem is hard to approximate and lacks a constant-factor approximation, some geometric intersection graphs admit polynomial-time approximation schemes (PTAS) for finding an MDS.

Finding an MDS is important in applications such as automatic label placement, VLSI circuit design, and cellular frequency division multiplexing. The MDS problem can be generalized by assigning a different weight to each shape and searching for a disjoint set with a maximum total weight.

Greedy algorithms

Given a set C of shapes, an approximation to MDS(C) can be found by a greedy algorithm that iteratively selects shapes touching relatively few other shapes. For every shape x added to the solution set, all shapes intersecting x are removed from consideration. If one can guarantee that there is a shape x for which the maximum disjoint subset of the shapes intersecting x is bounded by a constant M, then the greedy algorithm yields a constant M-factor approximation.

Such an upper bound exists for several interesting cases. When C is a set of unit disks, M = 3; when C is a set of axis-parallel unit squares, M = 2; when C is a set of arbitrary-size disks, M = 5; and when C is a set of arbitrary-size axis-parallel squares, M = 4. Other constants can be calculated for other regular polygons.

The one-dimensional case: exact polynomial algorithm

When C is a set of intervals on a line, M = 1, and the greedy algorithm finds the exact MDS. The MDS in one dimension can be found exactly in O(n log n) time by sorting the intervals in ascending order of their bottom endpoints, adding the interval with the highest bottom endpoint, and deleting all intervals intersecting it. This algorithm is analogous to the earliest-deadline-first scheduling solution to the interval scheduling problem.

In contrast to the one-dimensional case, in two or more dimensions the MDS problem becomes NP-complete, and thus has either exact super-polynomial algorithms or approximate polynomial algorithms.

Divide-and-conquer algorithms

The most common approach to finding an MDS is divide-and-conquer. A typical algorithm divides the given set of shapes into two or more subsets such that shapes in each subset cannot overlap shapes in other subsets due to geometric considerations, recursively finds the MDS in each subset, and returns the union of the MDSs.

Known results for axis-parallel rectangles include:

  • Rectangles of the same height admit a 2-approximation algorithm and a PTAS.
  • General axis-parallel rectangles admit a logarithmic-factor approximation (improved over time to O(log log n)).
  • Constant-factor approximations exist: Joseph S. B. Mitchell presented a 10-factor approximation; this was later improved to a 6-factor and then to a (2+ε)-factor approximation.

Fat objects

For fat objects (such as squares or circles) with identical sizes, Hochbaum and Maass presented a PTAS using a shifted-grid strategy, finding a solution within (1 − ε) of the maximum in time n^O(1/ε²) and linear space. This generalizes to any collection of fat objects of roughly the same size.

For fat objects of arbitrary sizes, PTASs exist based on multi-level grid alignment (e.g., the level-partitioning algorithm of Erlebach, Jansen, and Seidel, and the shifted-quadtree algorithm of Chan) and based on geometric separator theorems.

Geometric separator algorithms

Several divide-and-conquer algorithms rely on geometric separator theorems. A geometric separator is a line or shape that separates a given set of shapes into two smaller subsets while keeping the number of shapes lost during division relatively small. These separators enable both PTASs and sub-exponential exact algorithms. For example, for disks with a bounded size ratio, an exact sub-exponential algorithm exists using a width-bounded geometric separator.

Local search and linear programming relaxation algorithms

For pseudo-disks sets—collections of objects in which the boundaries of every pair of objects intersect at most twice—a local search algorithm by Chan and Har-Peled finds a disjoint set of size at least (1 − O(1/√b))·|MDS(C)| in time O(n^(b+3)) for any integer constant b ≥ 0, providing a PTAS. Using linear programming relaxation, it is possible to find a disjoint set of size at least (n/u)·|MDS(C)| for pseudo-disks sets with union complexity u.

Approximations are also known for other shape classes, including line segments in the plane, arbitrary two-dimensional convex objects, and curves with a bounded number of intersection points.

References and further reading

The concept is documented in the Wikipedia article "Maximum disjoint set" and related literature on computational geometry, geometric intersection graphs, independent sets, and approximation algorithms.

Browse

More topics to explore

    Browse all articles