Nothing Special   »   [go: up one dir, main page]

Skip to main content

An Analysis of Repeated Graph Search

  • Conference paper
  • First Online:
Mathematics of Program Construction (MPC 2019)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 11825))

Included in the following conference series:

  • 512 Accesses

Abstract

Graph-searching algorithms typically assume that a node is given from which the search begins but in many applications it is necessary to search a graph repeatedly until all nodes in the graph have been “visited”. Sometimes a priority function is supplied to guide the choice of node when restarting the search, and sometimes not. We call the nodes from which a search of a graph is (re)started the “delegate” of the nodes found in that repetition of the search and we analyse the properties of the delegate function. We apply the analysis to establishing the correctness of the second stage of the Kosaraju-Sharir algorithm for computing strongly connected components of a graph.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Institutional subscriptions

Similar content being viewed by others

References

  1. Aho, A.V., Hopcroft, J.E., Ullman, J.D.: Data Structures and Algorithms. Addison-Wesley, Reading (1982)

    Google Scholar 

  2. Backhouse, R.C.: Closure algorithms and the star-height problem of regular languages. Ph.D. thesis, University of London (1975). https://spiral.imperial.ac.uk/bitstream/10044/1/22243/2/Backhouse-RC-1976-PhD-Thesis.pdf

  3. Backhouse, R.C., Carré, B.A.: Regular algebra applied to path-finding problems. J. Inst. Math. Appl. 15, 161–186 (1975)

    Article  MathSciNet  Google Scholar 

  4. Backhouse, R.C., van der Woude, J.: Demonic operators and monotype factors. Math. Struct. Comput. Sci. 3(4), 417–433 (1993)

    Article  MathSciNet  Google Scholar 

  5. Backhouse, R.: Regular algebra applied to language problems. J. Logic Algebraic Program. 66, 71–111 (2006)

    Article  MathSciNet  Google Scholar 

  6. Backhouse, R., Doornbos, H., Glück, R., van der Woude, J.: Algorithmic graph theory: an exercise in point-free reasoning (2019). http://www.cs.nott.ac.uk/~pasrb2/MPC/BasicGraphTheory.pdf, Also available online at ResearchGate

  7. Backhouse, R.C., van den Eijnde, J.P.H.W., van Gasteren, A.J.M.: Calculating path algorithms. Sci. Comput. Program. 22(1–2), 3–19 (1994)

    Article  MathSciNet  Google Scholar 

  8. Conway, J.H.: Regular Algebra and Finite Machines. Chapman and Hall, London (1971)

    MATH  Google Scholar 

  9. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. MIT Electrical Engineering and Computer Science Series. MIT Press, Cambridge (1990)

    MATH  Google Scholar 

  10. Cormen, T.H., Leiserson, C.E., Rivest, R.L., Stein, C.: Introduction to Algorithms. MIT Electrical Engineering and Computer Science Series, 3rd edn. MIT Press, Cambridge (2009)

    MATH  Google Scholar 

  11. Doornbos, H., Backhouse, R.: Reductivity. Sci. Comput. Program. 26(1–3), 217–236 (1996)

    Article  MathSciNet  Google Scholar 

  12. Freyd, P.J., Ščedrov, A.: Categories. North-Holland, Allegories (1990)

    MATH  Google Scholar 

  13. Glück, R.: Algebraic investigation of connected components. In: Höfner, P., Pous, D., Struth, G. (eds.) RAMICS 2017. LNCS, vol. 10226, pp. 109–126. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57418-9_7

    Chapter  MATH  Google Scholar 

  14. Hoogendijk, P., Backhouse, R.C.: Relational programming laws in the tree, list, bag, set hierarchy. Sci. Comput. Program. 22(1–2), 67–105 (1994)

    Article  MathSciNet  Google Scholar 

  15. King, D.J., Launchbury, J.: Structuring depth-first search algorithms in Haskell. In: POPL 1995. Proceedings of the 22nd ACM SIGPLAN-SIGACT Symposium on Principles of Programmming Languages, pp. 344–354 (1995)

    Google Scholar 

  16. Sharir, M.: A strong-connectivity algorithm and its application in data flow analysis. Comput. Math. Appl. 7(1), 67–72 (1981)

    Article  MathSciNet  Google Scholar 

  17. Tarjan, R.E.: Depth first search and linear graph algorithms. SIAM J. Comput. 1, 146–160 (1972)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

Many thanks to the referees for their careful and detailed critique of the submitted paper. Thanks also for pointing out that explicit mention of the “forefather” function, studied in detail in [9], has been elided in [10].

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Roland Backhouse .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Backhouse, R. (2019). An Analysis of Repeated Graph Search. In: Hutton, G. (eds) Mathematics of Program Construction. MPC 2019. Lecture Notes in Computer Science(), vol 11825. Springer, Cham. https://doi.org/10.1007/978-3-030-33636-3_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-33636-3_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-33635-6

  • Online ISBN: 978-3-030-33636-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics