Algorithms for interval structures with applications

  • Authors:
  • Danny Z. Chen;Ewa Misiołek

  • Affiliations:
  • Department of Computer Science and Engineering, University of Notre Dame, Notre Dame, IN 46556, USA;Mathematics Department, Saint Mary's College, Notre Dame, IN 46556, USA

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2013

Quantified Score

Hi-index 5.23

Visualization

Abstract

We present new algorithms for two problems on interval structures that arise in computer-aided manufacturing and in other areas. We give an O(Kn) time algorithm for the single-source K-link shortest path problem on an interval graph with n weighted vertices, and two O(n) time algorithms for a generalized version of the optimal color-spanning problem for n points on a real line, where each point is assigned one of m colors (m@?n). A standard approach for solving the K-link shortest path problem would take O(Kn^2) time, and thus our result offers a linear time improvement. The previously best known algorithm for the optimal color-spanning problem in R^1 takes O(n) time and space. We provide two algorithms for a generalized version of this problem in which each color must appear a specified minimum number of times. One of these two solutions is suitable for an online processing of the (streaming) input points; it uses O(m) working space for the ordinary one-dimensional optimal color-spanning problem. We also show several applications of our algorithms in computer-aided manufacturing and in other areas.