arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.11469cs.DScs.DMmath.CO
收藏

最长路径问题的一种代数方法

An Algebraic Approach to the Longest Path Problem

Omar Al - Khazali

AI总结:

针对最长路径问题,提出基于邻接矩阵“booleanize”映射的精确代数方法,为树、块图和无环图等图类提供经代数运算证明正确的多项式时间求解及路径生成算法。

摘要:

最长路径问题是寻找图中顶点对之间最大长度的问题。在一般情况下,该问题是 NP 完全的。然而,存在一小类图类,对其有高效的解决方案。当前的方法要么涉及近似,要么涉及计算枚举。对于树状图类,存在能高效解决该问题的近似和枚举算法。尽管如此,我们提出了一种用精确代数解决方案处理最长路径问题的新方法,该方法可产生多项式时间算法。与现有的纯算法解决方案不同,我们的方法提供的算法通过其底层代数运算证明了正确性。我们在图的邻接矩阵上引入了一种“booleanize”映射,并证明它能通过精确条件和相关的多项式时间算法,识别出树、均匀块图、块图和有向无环图的解。此外,我们还展示了能在高效时间内生成无环图以及块图所有可能最长路径的额外算法。

英文摘要:

The Longest Path Problem is a question of finding the maximum length between pairs of vertices of a graph. In the general case, the problem is NP-complete. However, there is a small collection of graph classes for which there exists an efficient solution. Current approaches involve either approximation or computational enumeration. For Tree-like classes of graphs, there are approximation and enumeration algorithms which solves the problem efficiently. Despite this, we propose a new method of approaching the longest path problem with exact algebraic solutions that give rise to polynomial-time algorithms. Our method provides algorithms that are proven correct by their underlying algebraic operations unlike existing purely algorithmic solutions to this problem. We introduce a `booleanize' mapping on the adjacency matrix of a graph which we prove identifies the solution for trees, uniform block graphs, block graphs, and directed acyclic graphs with exact conditions and associated polynomial-time algorithms. In addition, we display additional algorithms that can generate every possible longest path of acyclic graphs in efficient time, as well as for block graphs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑