用伪拓扑序求加权有向图中的简单长路
Finding long simple paths in a weighted digraph using pseudo-topological orderings
摘要:
给定一个加权有向图D,寻找最长的简单路是NP-难的。此外,即使给出一个近似算法也是NP难的。在本文中,我们描述了一个有效的启发式算法寻找长的简单路径,使用DFS和伪拓扑顺序的混合方法,一个推广的拓扑顺序非无环图,通过一个过程,我们称之为“开放的边缘”。该算法的实现赢得了Oracle MDC 2015编码竞赛。
英文摘要:
Given a weighted digraph D, finding the longest simple path is well known to be NP-hard. Furthermore, even giving an approximation algorithm is known to be NP-hard. In this paper we describe an efficient heuristic algorithm for finding long simple paths, using an hybrid approach of DFS and pseudo-topological orders, a a generalization of topological orders to non acyclic graphs, via a process we call "opening edges". An implementation of this algorithm won the Oracle MDC 2015 coding competition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。