Skip to main content Accessibility help
×
Hostname: page-component-5c6d5d7d68-lvtdw Total loading time: 0 Render date: 2024-08-18T00:00:03.364Z Has data issue: false hasContentIssue false

4 - Complexity theory

Published online by Cambridge University Press:  06 July 2010

Get access

Summary

THE COMPLEXITY OF A PROBLEM

Our aim remains to explicate and justify the Law of Small Probability. Two pillars undergird this law, one probabilistic, the other complexity–theoretic. In the last chapter we elucidated the probabilistic pillar. Here we elucidate the complexity–theoretic pillar. Complexity theory, like probability theory, is a theory of measurement. Whereas probability theory measures the likelihood of an event, complexity theory measures the difficulty of a problem. Specifically, complexity theory measures how difficult it is to solve a problem Q given certain resources R. To see how complexity theory works in practice, let us examine the most active area of research currently within complexity theory, namely, computational complexity theory.

Computational complexity pervades every aspect of computer science. Whatever the computational problem, a programmer has to consider how the available computational resources (= R) contribute to solving the problem (= Q). If a problem is intractable, the programmer won't want to waste time trying to solve it. Intractability occurs either if the problem has no algorithm that allows it even in principle to be solved on a computer, or if all the algorithms that solve the problem consume so many computational resources as to make solving the problem impracticable (either by requiring too much time or memory). Programmers therefore have a vital stake in computational complexity theory. By definition computational complexity theory handles one task: inputting algorithms and outputting the computational resources needed to run those algorithms.

Type
Chapter
Information
The Design Inference
Eliminating Chance through Small Probabilities
, pp. 92 - 135
Publisher: Cambridge University Press
Print publication year: 1998

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 coreplatform@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.

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.

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.

Available formats
×