一个温和的教程和Bock算法的结构化重述:用于最小有向生成树
A gentle tutorial on Bock's algorithm for minimum directed spanning trees with a structured reformulation
AI总结:
本文通过结构化重述Bock算法,使其更易读易复现,强调其作为非投影图依赖解析精确解码器的相关性,展示了算法的阶段结构和控制流。
摘要:
本文提出一个温和的教程和Bock 1971 年Algol过程的结构化重述,用于构建最小有向生成树。我们的目标是使原始算法对现代读者更易读和可复现,同时强调其作为非投影图基础依赖解析的精确解码器的相关性。我们用Bock的符号重述最小arborescence目标,并提供原始十节点示例的完整逐行执行跟踪,扩展源论文中给出的部分跟踪,从初始化到终止。然后我们引入一个结构化重述,明确显示该过程的阶段结构、维护状态和控制流,同时保持原始方法的逻辑。作为进一步的说明,我们包含一个改编自{jurafsky-martin-2026-book}的示例,展示如何将最大权重arborescence问题通过标准仿射变换转换为Bock的最小成本公式,并在相同状态变量下进行跟踪。
英文摘要:
Bock's 1971 algorithm is an exact primal--dual method for the minimum-cost arborescence problem, but its Algol presentation obscures the interaction of its maintained arrays and label-directed control flow. We provide a self-contained tutorial comprising the original listing, a line-mapped explanation, a circuit-forming three-node example, and a complete trace of Bock's ten-node instance. We also present a structured reformulation that replaces temporary span-label changes with explicit component and trace state. Local tightness and contraction-progress results, together with an operational-correspondence theorem, establish that the reformulation preserves Bock's candidate choices, transfers, and final solution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。