摘要
In this paper, we will describe some heuristics that can be used to improve the runtime of a wide range of commonly used algorithms for the negative cycle detection problem significantly, such as Bellman-Ford-Tarjan (BFCT) algorithm, Goldberg-Radzik (GORC) algorithm and Bellman-Ford-Moore algorithm with Predecessor Array (BFCF). The heuristics are very easy to be implemented and only require modifications of several lines of code of the original algorithms. We observed that the modified algorithms outperformed the original ones, particularly in random graphs and no cycle graphs. We discovered that 69% of test cases have improved. Also, the improvements are sometimes dramatic, which have an improvement of a factor of 23, excluding the infinity case, while the worst case has only decreased by 85% only, which is comparably small when compared to the improvement.
| 原文 | English |
|---|---|
| 頁(從 - 到) | 652-663 |
| 頁數 | 12 |
| 期刊 | Lecture Notes in Computer Science |
| 卷 | 3669 |
| DOIs | |
| 出版狀態 | Published - 2005 |
| 對外發佈 | 是 |
| 事件 | 13th Annual European Symposium on Algorithms, ESA 2005 - Palma de Mallorca, Spain 持續時間: 3 10月 2005 → 6 10月 2005 |
指紋
深入研究「Negative cycle detection problem」主題。共同形成了獨特的指紋。引用此
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver