2 research outputs found

    Optimal Discretization is Fixed-parameter Tractable

    Full text link
    Given two disjoint sets W1W_1 and W2W_2 of points in the plane, the Optimal Discretization problem asks for the minimum size of a family of horizontal and vertical lines that separate W1W_1 from W2W_2, that is, in every region into which the lines partition the plane there are either only points of W1W_1, or only points of W2W_2, or the region is empty. Equivalently, Optimal Discretization can be phrased as a task of discretizing continuous variables: we would like to discretize the range of xx-coordinates and the range of yy-coordinates into as few segments as possible, maintaining that no pair of points from W1×W2W_1 \times W_2 are projected onto the same pair of segments under this discretization. We provide a fixed-parameter algorithm for the problem, parameterized by the number of lines in the solution. Our algorithm works in time 2O(k2logk)nO(1)2^{O(k^2 \log k)} n^{O(1)}, where kk is the bound on the number of lines to find and nn is the number of points in the input. Our result answers in positive a question of Bonnet, Giannopolous, and Lampis [IPEC 2017] and of Froese (PhD thesis, 2018) and is in contrast with the known intractability of two closely related generalizations: the Rectangle Stabbing problem and the generalization in which the selected lines are not required to be axis-parallel.Comment: Accepted to ACM-SIAM Symposium on Discrete Algorithms (SODA 2021
    corecore