• Home
  • Search
  • A Streaming Algorithm for the Undirected Longest Path Problem
  • Cite Icon4
  • https://doi.org/10.4230/lipics.esa.2016.56Copy DOI Icon

A Streaming Algorithm for the Undirected Longest Path Problem

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

We present the first streaming algorithm for the longest path problem in undirected graphs. The input graph is given as a stream of edges and RAM is limited to only a linear number of edges at a time (linear in the number of vertices n ). We prove a per-edge processing time of O ( n ) , where a naive solution would have required Ω( n 2 ) . Moreover, we give a concrete linear upper bound on the number of bits of RAM that are required. On a set of graphs with various structure, we experimentally compare our algorithm with three leading RAM algorithms: Warnsdorf (1823), Pohl-Warnsdorf (1967), and Pongracz (2012). Although conducting only a small constant number of passes over the input, our algorithm delivers competitive results: with the exception of preferential attachment graphs, we deliver at least 71% of the solution of the best RAM algorithm. The same minimum relative performance of 71% is observed over all graph classes after removing the 10% worst cases. This comparison has strong meaning, since for each instance class there is one algorithm that on average delivers at least 84% of a Hamilton path. In some cases we deliver even better results than any of the RAM algorithms.

Similar Papers
  • Conference Article
  • Citations18

Towards Optimal Approximate Streaming Pattern Matching by Matching Multiple Patterns in Multiple Streams

  • Jan 01, 2018
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Shay Golan +2
  • Conference Article
  • Citations22

The sparse awakens: Streaming algorithms for matching size estimation in sparse graphs

  • Sep 01, 2017
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Graham Cormode +3
  • Research Article

Bidirectional Heuristic Search in Longest Path Problems (Extended Abstract)

  • Jul 20, 2025
  • Proceedings of the International Symposium on Combinatorial Search
  • Tzur Shubi +3
  • Book Chapter

Hamiltonicity and Related Problems

  • Jan 01, 2002
  • Jørgen Bang-Jensen +1
  • PDF
  • Research Article
  • Citations9

Finding Hamiltonian and Longest (s,t)-Paths of C-Shaped Supergrid Graphs in Linear Time

  • Feb 13, 2022
  • Algorithms
  • Fatemeh Keshavarz-Kohjerdi +1
  • Conference Article
  • Citations3

Tight Tradeoffs for Real-Time Approximation of Longest Palindromes in Streams.

  • Jan 01, 2016
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Paweł Gawrychowski +3
  • Conference Article
  • Citations1

Robust Algorithms Under Adversarial Injections

  • Jun 13, 2020
  • DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
  • Paritosh Garg +3
  • Conference Article

A Clustering Control Scheme for V2V Live Road Surveillance (LRS)

  • Dec 19, 2014
  • Chung-Ming Huang +1
  • Research Article

使用進階加密標準之一H.264/AVC碼流相容選擇性加密方法

  • Jan 01, 2013
  • 李佳橙
  • Research Article
  • Citations4

Multi-User Video Streaming over Multiple Heterogeneous Wireless Networks: A Distributed, Cross-Layer Design Paradigm

  • Jan 01, 2009
  • Journal of Internet Technology
  • Liang Zhou +5
  • Research Article
  • Citations2

Computing and Counting Longest Paths on Circular-Arc Graphs in Polynomial Time

  • Jul 28, 2011
  • Electronic Notes in Discrete Mathematics
  • George B Mertzios +1
  • Research Article

PERFORMANCE ANALYSIS OF FORWARD ERROR CORRECTION AIDED P2P LIVE-VIDEO STREAMING

  • Jun 30, 2012
  • Nasru Minallah +2
  • Conference Article
  • Citations2

Enumerating Minimal Connected Dominating Sets in Graphs of Bounded Chordality

  • Jan 01, 2015
  • Bergen Open Research Archive (BORA) (University of Bergen)
  • Petr A Golovach +2
  • Research Article
  • Citations3

Hamiltonian Cycles on Ammann-Beenker Tilings

  • Jul 10, 2024
  • Physical Review X
  • Shobhna Singh +2
  • Research Article
  • Citations81

Solving 0-1 knapsack problems based on amoeboid organism algorithm

  • May 07, 2013
  • Applied Mathematics and Computation
  • Xiaoge Zhang +5
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.