A deterministic algorithm for fixed-link shortest paths in concave Monge graphs
Abstract
We give a deterministic -time algorithm for finding a minimum-weight source-to-sink path with exactly edges in a concave Monge graph on vertices. More precisely, the algorithm takes time and space, where . This resolves the 32-year-old open problem of finding an -time algorithm for every prescribed [Aggarwal et al., 1994]. The best previous worst-case bound was due to Schieber, whose algorithm takes time for [Schieber, 1998]. We give three applications. We give an -time algorithm for exact one-dimensional -means, which asks how to partition sorted, positively weighted points into clusters to minimize the weighted sum of squared distances to the cluster means. This answers the question of whether time suffices [Grønlund et al., 2017]. The classical dynamic program computes the optima for all cluster counts through in time [Wu, 1991]. We give an -time algorithm for the inscribed -gon problem, which asks us to choose of the cyclically ordered vertices of a convex -gon to maximize the perimeter of the polygon they form. The earlier matrix-search algorithm takes time [Aggarwal et al., 1987]. An bound was known for polynomially bounded integer coordinates with no three vertices collinear [Bein et al., 1992]. For sorted positive symbol weights and any feasible , we construct an optimal tree in time for length-limited binary prefix coding, which asks for a code that minimizes the weighted sum of codeword lengths subject to a limit of bits per codeword. The package-merge algorithm takes time [Larmore and Hirschberg, 1990].
Create a lesson
Related papers
Vertex-Weighted Graph Burning: Bounds and Algorithms
Shared title terminologycs.DSAli Abdoli Masinan, Ayda Ataiy, Hourieh Mehrabiun et al.
Deterministic algorithms for range LIS and its relatives
Shared title terminologycs.DSFilippo di Gravina, Francesco Damiano Di Gregorio
New Parameterized Upper Bounds for All-Pairs Shortest Path and Lowest Common Ancestor in DAGs
Shared title terminologycs.DSErsel Hengirmen, Hakan Yıldız
Directed k Disjoint Shortest Paths Is Polynomial for Every Fixed k
Shared title terminologycs.DSSaeed Amiri
Directed disjoint shortest paths via guillotine cuts
Shared title terminologycs.DSWilliam Lochet, M. S. Ramanujan, Saket Saurabh
An Experimental Evaluation of Maximum Weighted Matching Algorithms: Edmonds, Gabow, and Scaling on General Graphs
Shared title terminologycs.DSAbdulaziz Alfaraj, Ahmed Al-Herz