Exploring an unknown graph

  • Authors:
  • Xiaotie Deng;Christos H. Papadimitriou

  • Affiliations:
  • Department of Computer Science, City University of Hong Kong, Kowloon, Hong Kong Sar, China;Department of Computer Science and Engineering, University of California at Berkeley, Berkeley, California

  • Venue:
  • Journal of Graph Theory
  • Year:
  • 1999

Quantified Score

Hi-index 0.01

Visualization

Abstract

We wish to explore all edges of an unknown directed, strongly connected graph. At each point, we have a map of all nodes and edges we have visited, we can recognize these nodes and edges if we see them again, and we know how many unexplored edges emanate from each node we have visited, but we cannot tell where each leads until we traverse it. We wish to minimize the ratio of the total number of edges traversed divided by the optimum number of traversals, had we known the graph. For Eulerian graphs, this ratio cannot be better than two, and two is achievable by a simple algorithm. In contrast, the ratio is unbounded when the deficiency of the graph (the number of edges that have to be added to make it Eulerian) is unbounded. Our main result is an algorithm that achieves a bounded ratio when the deficiency is bounded. © 1999 John Wiley & Sons, Inc. J Graph Theory 32: 265–297, 1999