Skip to main content

Space-Efficient and Output-Sensitive Implementations of Greedy Algorithms on Intervals

  • Conference paper
  • First Online:
  • 709 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10167))

Abstract

We consider the space-efficient implementation of greedy algorithms for several fundamental problems on intervals. We assume a random access machine model with read-only access to input stored in \(\varTheta (n)\) words of memory, augmented with a random access memory (workspace) of size \(\varTheta (s)\) bits, where \(\lg n \le s \le n\). Our implementations are based on the efficient realization of an abstract data structure that we call a temporal priority queue that supports extract-min and advance-time operations for a static collection of entities, each of which is active for some pre-specified interval of time. This realization is a generalization of the memory-adjustable navigation pile proposed by Asano et al. in studying time-space tradeoffs for sorting.

Using temporal priority queues we are able to implement familiar greedy algorithms for the maximum independent set problem and a variety of dominating set problems on intervals, using \({O(m(\lg {(sk/m)}+n/s))}\) time and \(\varTheta (s)\) bits of workspace, where k is the size of output and \(m=\min (sk, n)\). Choosing \(s = \varTheta (n)\) this achieves \(O(n\lg {k})\) output-sensitive time complexity for the maximum independent set problem on intervals, previously realized using \(\varOmega (n)\) words of workspace.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    The symbol \(\lg \) denotes \(\log _2\).

References

  1. Asano, T., Elmasry, A., Katajainen, J.: Priority queues and sorting for read-only data. In: Chan, T.-H.H., Lau, L.C., Trevisan, L. (eds.) TAMC 2013. LNCS, vol. 7876, pp. 32–41. Springer, Heidelberg (2013). doi:10.1007/978-3-642-38236-9_4

    Chapter  Google Scholar 

  2. Bhattacharya, B.K., De, M., Nandy, S.C., Roy, S.: Maximum independent set for interval graphs and trees in space efficient models. In: Canadian Conference on Computational Geometry (CCCG 2014) (2014)

    Google Scholar 

  3. Borodin, A.: Time space tradeos (getting closer to the barrier?). In: International Symposium on Algorithms and Computation (ISAAC 1993), pp. 209–220 (1993)

    Google Scholar 

  4. Chang, M.: Efficient algorithms for the domination problems on interval and circular-arc graphs. SIAM J. Comput. 27(6), 1671–1694 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  5. Cheng, S., Kaminski, M., Zaks, S.: Minimum dominating sets of intervals on lines. Algorithmica 20(3), 294–308 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  6. Corneil, D.G., Stewart, L.K.: Dominating sets in perfect graphs. Discrete Math. 86(1–3), 145–164 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  7. Darwish, O., Elmasry, A.: Optimal time-space tradeo for the 2D convex-hull problem. In: European Symposium on Algorithms (ESA 2014), pp. 284–295 (2014)

    Google Scholar 

  8. Frederickson, G.N.: Upper bounds for time-space trade-offs in sorting and selection. J. Comput. Syst. Sci. 34(1), 19–26 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  9. Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs. Annals of Discrete Mathematics, vol. 57. Elsevier, Amsterdam (2004)

    MATH  Google Scholar 

  10. Golumbic, M.C., Hammer, P.L.: Stability in circular arc graphs. J. Algorithms 9(3), 314–320 (1988)

    Article  MathSciNet  MATH  Google Scholar 

  11. Haynes, T., Hedetniemi, S., Slater, P.: Fundamentals of Domination in Graphs. Chapman & Hall/CRC Pure and Applied Mathematics. CRC Press, Boca Raton (1998)

    MATH  Google Scholar 

  12. Hsu, W., Spinrad, J.P.: Independent sets in circular-arc graphs. J. Algorithms 19(2), 145–160 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  13. Hsu, W., Tsai, K.: Linear time algorithms on circular-arc graphs. Inf. Process. Lett. 40(3), 123–129 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  14. Katajainen, J., Vitale, F.: Navigation piles with applications to sorting, priority queues, and priority deques. Nordic J. Comput. 10(3), 238–262 (2003)

    MathSciNet  MATH  Google Scholar 

  15. Kleinberg, J., Tardos, E.: Algorithm Design. Addison-Wesley Longman Publishing Co., Inc., Boston (2005)

    Google Scholar 

  16. Munro, J.I., Paterson, M.: Selection and sorting with limited storage. Theor. Comput. Sci. 12, 315–323 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  17. Pagter, J., Rauhe, T.: Optimal time-space trade-offs for sorting. In: Foundations of Computer Science (FOCS 1998), pp. 264–268 (1998)

    Google Scholar 

  18. Snoeyink, J.: Maximum independent set for intervals by divide and conquer with pruning. Networks 49(2), 158–159 (2007)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Toshiki Saitoh .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Saitoh, T., Kirkpatrick, D.G. (2017). Space-Efficient and Output-Sensitive Implementations of Greedy Algorithms on Intervals. In: Poon, SH., Rahman, M., Yen, HC. (eds) WALCOM: Algorithms and Computation. WALCOM 2017. Lecture Notes in Computer Science(), vol 10167. Springer, Cham. https://doi.org/10.1007/978-3-319-53925-6_25

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-53925-6_25

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-53924-9

  • Online ISBN: 978-3-319-53925-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics