Combinatorial algorithms for listing paths in minimal change order

  • Authors:
  • Zareen Alamgir;Sarmad Abbasi

  • Affiliations:
  • Department of Computer Science, National University of Computer and Emerging Sciences, Lahore, Pakistan;Center for Advanced Studies in Mathematics, Lahore University of Management Sciences, Lahore, Pakistan

  • Venue:
  • CAAN'07 Proceedings of the 4th conference on Combinatorial and algorithmic aspects of networking
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Combinatorial algorithms that list combinatorial objects in minimal change order are of fundamental interest in computer science and mathematics. In minimal change ordering, successive elements differ in some pre-specified small way. In this paper, we deal with the generation of paths in a special type of minimal change ordering, the revolving door ordering. We propose a simple algorithm to list all paths in a complete graph, Kn, with n vertices in revolving door order such that each path is generated exactly once. The algorithm is built using space and time efficient schemes that list all spanning paths and "path sets" in revolving door order. Our algorithm is optimal in the sense that it operates in constant amortized time (CAT) and uses linear space.