计算机科学 > 计算几何
[提交于 2025年11月20日]
标题:Minimizing Vertical Length in Linked Bar Charts
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A linked bar chart is the augmentation of a traditional bar chart where each bar is partitioned into blocks and pairs of blocks are linked using orthogonal lines that pass over intermediate bars. The order of the blocks readily influences the legibility of the links. We study the algorithmic problem of minimizing the vertical length of these links, for a fixed bar order. The main challenge lies with ``dependent'' links, whose vertical link length cannot be optimized independently per bar. We show that, if the dependent links form a forest, the problem can be solved in $O(nm)$ time, for n bars and m links. If the dependent links between non-adjacent bars form a forest, the problem admits an $O(n^4m)$-time algorithm. Finally, we show that the general case is fixed-parameter tractable in the maximum number of links that are connected to one bar.
提交历史
来自:Arjen Simons[v1] 2025年11月20日 星期四 21:30:47 UTC