Skip to main content Accessibility help
×
Hostname: page-component-cd9895bd7-8ctnn Total loading time: 0 Render date: 2024-12-26T14:48:39.776Z Has data issue: false hasContentIssue false

Appendices

Published online by Cambridge University Press:  11 October 2017

Vito Latora
Affiliation:
Queen Mary University of London
Vincenzo Nicosia
Affiliation:
Queen Mary University of London
Giovanni Russo
Affiliation:
Università degli Studi di Catania, Italy
Get access

Summary

Problems, Algorithms and Time Complexity

We introduce here the elementary concepts of computer science and complexity theory which will be useful in understanding the material of the other appendices. This appendix is primarily intended for those readers who do not have a background in computer science. Its main aim is that of presenting basic notions about computational problems, the axiomatic definition of algorithms, the standard methods to represent algorithms, the concept of time complexity and a few useful tools to estimate the time complexity of simple algorithms. Whenever possible, the discussion has been intentionally left informal and all the unnecessary technicalities have been discarded, in order to allow the reader to focus on the essential concepts without being distracted by definitions and theorems. For a more formal treatment of the material presented in this appendix we encourage the interested reader to refer to any classical book on algorithms, such as the trilogy by Donald Ervin Knuth [181, 182, 183] or in Complexity Theory [250].

What Is a “Problem”?

Formally, a problem P is a pair (D,Q) of an abstract description D and a question Q requiring an answer. A simple example of a problem in graph theory is the Graph Connectivity Problem: “Given a graph G(N,L) where N denotes a set of vertices and L is the set of edges among vertices in N, is the graph G connected?” In this example, the description provides the context of the problem, which is usually represented as a class of objects (a generic graph G(N,L)), while the question to be answered (“is G connected?”) is a precise enquiry about a specific property of the class of objects under consideration.

The definition above is quite general and is given for an entire class of objects, without any specific connection to a particular object of that class. Conversely, an instance of a problem includes a full specification of one particular object of a class, which we indicate as x, and the solution P(x) is the answer to the question Q for the specific object x under consideration.

Type
Chapter
Information
Complex Networks
Principles, Methods and Applications
, pp. 410 - 534
Publisher: Cambridge University Press
Print publication year: 2017

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure no-reply@cambridge.org is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Appendices
  • Vito Latora, Queen Mary University of London, Vincenzo Nicosia, Queen Mary University of London, Giovanni Russo, Università degli Studi di Catania, Italy
  • Book: Complex Networks
  • Online publication: 11 October 2017
  • Chapter DOI: https://doi.org/10.1017/9781316216002.013
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Appendices
  • Vito Latora, Queen Mary University of London, Vincenzo Nicosia, Queen Mary University of London, Giovanni Russo, Università degli Studi di Catania, Italy
  • Book: Complex Networks
  • Online publication: 11 October 2017
  • Chapter DOI: https://doi.org/10.1017/9781316216002.013
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Appendices
  • Vito Latora, Queen Mary University of London, Vincenzo Nicosia, Queen Mary University of London, Giovanni Russo, Università degli Studi di Catania, Italy
  • Book: Complex Networks
  • Online publication: 11 October 2017
  • Chapter DOI: https://doi.org/10.1017/9781316216002.013
Available formats
×