计算机科学 > 数据结构与算法
[提交于 2021年4月12日]
标题:A Note on the Performance of Algorithms for Solving Linear Diophantine Equations in the Naturals
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We implement four algorithms for solving linear Diophantine equations in the naturals: a lexicographic enumeration algorithm, a completion procedure, a graph-based algorithm, and the Slopes algorithm. As already known, the lexicographic enumeration algorithm and the completion procedure are slower than the other two algorithms. We compare in more detail the graph-based algorithm and the Slopes algorithm. In contrast to previous comparisons, our work suggests that they are equally fast on small inputs, but the graph-based algorithm gets much faster as the input grows. We conclude that implementations of AC-unification algorithms should use the graph-based algorithm for maximum efficiency.
提交历史
来自:Valeriu Motroi[v1] 2021年4月12日 星期一 04:45:00 UTC