计算机科学 > 数据结构与算法
[提交于 2026年11月25日]
标题:Min-Plus Products and Dynamic Programming with Few Violations of the Adjacent Monge Inequalities
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Local rewards can introduce negative adjacent mixed differences into a convex transition cost. If a cost array $B$ has $s(B)$ such differences, we express it as a Monge array minus $s(B)$ weighted rectangles and sweep its columns, maintaining the lower envelope of the active rows. For explicit finite $n\times n$ matrices $A,B$ and $L=\lceil\log_2(n+1)\rceil$, we compute $A\otimes B$ and the smallest minimizing index for every entry in $\mathcal{O}(n^2L+ns(B)L^3)$ time and $\mathcal{O}(n^2)$ space, giving near-quadratic time for arbitrary $A$ when $s(B)=\mathcal{O}(n)$, including right factors with $\Theta(n^2)$ positive differences. For block costs given by a constant-time Monge oracle and $r$ signed rectangle corrections, the sweep activates each row when its prefix optimum becomes available and computes an optimal contiguous partition in $\mathcal{O}((n+r)L^3)$ time and $\mathcal{O}(n+r)$ working space. The sweep handles convex transitions with interval rules and assigns one rectangle to each internal edge or hyperedge reward in a convex block cost, giving near-linear exact algorithms on sparse inputs for ordered graph modularity, weighted contiguous cluster editing, all-or-nothing HyperLam, and bounded-rank strict hypergraph modularity. Let $c_{\mathrm{APSP}}$ denote the deterministic exponent of all-pairs shortest paths with polynomially bounded integer weights. For fixed $3-c_{\mathrm{APSP}}<\alpha\le1$, any deterministic $\mathcal{O}(n^\beta)$-time min-plus product algorithm for polynomially bounded integer matrices with $s(B)\le n^{1+\alpha}$ satisfies $\beta\ge c_{\mathrm{APSP}}-1+\alpha$. The reduction from general integer min-plus multiplication uses right factors obtained from $(j-k)^2$ by at most $n^{1+\alpha}$ interval discounts, with $\Theta(n^2)$ positive differences and all remaining differences negative.
提交历史
来自:Yanqiao Chen[v1] 2026年11月25日 星期三 17:15:38 UTC (30 KB)