Skip to main content

Graph Terminology

  • Chapter
  • First Online:
Python Algorithms
  • 14k Accesses

Abstract

■■■

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.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

Notes

  1. 1.

    As quoted by Albert-László Barabási in his book Linked: TheNew Science of Networks (Basic Books, 2002).

  2. 2.

    You probably didn’t even think of it as an issue, but you can assume that V and E don’t overlap.

  3. 3.

    The functions would still be called V and E, even if we give the sets other names. For example, for a graph H = (W,F), we would have V(H) = W and E(H) = F.

  4. 4.

    As explained later, though, the root is not considered a leaf. Also, for a graph consisting of only two connected nodes, calling them both leaves sometimes doesn’t make sense.

  5. 5.

    Note that this is the same terminology as for the in- and out-neighborhoods in digraphs. The two concepts coincide once we start orienting the tree edges.

  6. 6.

    This is true only if all nodes can be reached from the start node. Otherwise, the traversal may have to restart in several places, ­resulting in a spanning forest. Each component of the spanning forest will then have its own root.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Magnus Lie Hetland

About this chapter

Cite this chapter

Hetland, M.L. (2014). Graph Terminology. In: Python Algorithms. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0055-1_14

Download citation

Publish with us

Policies and ethics