What is Complete: Definition and 404 Discussions

In computational complexity theory, a problem is NP-complete when:

a brute-force search algorithm can solve it, and the correctness of each solution can be verified quickly, and
the problem can be used to simulate any other problem with similar solvability.The name "NP-complete" is short for "nondeterministic polynomial-time complete". In this name, "nondeterministic" refers to nondeterministic Turing machines, a way of mathematically formalizing the idea of a brute-force search algorithm. Polynomial time refers to an amount of time that is considered "quick" for a deterministic algorithm to check a single solution, or for a nondeterministic Turing machine to perform the whole search. "Complete" refers to the property of being able to simulate everything in the same complexity class.
More precisely, each input to the problem should be associated with a set of solutions of polynomial length, whose validity can be tested quickly (in polynomial time), such that the output for any input is "yes" if the solution set is non-empty and "no" if it is empty. The complexity class of problems of this form is called NP, an abbreviation for "nondeterministic polynomial time". A problem is said to be NP-hard if everything in NP can be transformed in polynomial time into it even though it may not be in NP. Conversely, a problem is NP-complete if it is both in NP and NP-hard. The NP-complete problems represent the hardest problems in NP. If any NP-complete problem has a polynomial time algorithm, all problems in NP do. The set of NP-complete problems is often denoted by NP-C or NPC.
Although a solution to an NP-complete problem can be verified "quickly", there is no known way to find a solution quickly. That is, the time required to solve the problem using any currently known algorithm increases rapidly as the size of the problem grows. As a consequence, determining whether it is possible to solve these problems quickly, called the P versus NP problem, is one of the fundamental unsolved problems in computer science today.
While a method for computing the solutions to NP-complete problems quickly remains undiscovered, computer scientists and programmers still frequently encounter NP-complete problems. NP-complete problems are often addressed by using heuristic methods and approximation algorithms.

View More On Wikipedia.org
  1. O

    Achieving Invisibility with Water Diffraction: Is it Possible?

    I am really new to this site and I'm only 15 so if this sounds unclear please forgive: When light hits water it diffracts so i want to ask would it be possible to make something invisible between this medium of when the light hits the water and defracts.
  2. B

    Complete predictability contradicts relativity I think

    If we can find a formula to determine the state of a system in a future moment then we have the informations about that system before light could travel to us...got it ? So...isn't this in contradiction with relativity ? Or something like time travel ? (in the future)
  3. Greg Bernhardt

    Can The Complete Idiot's Guide to Calculus Really Simplify Learning Calculus?

    The Complete Idiot's Guide to Calculus INTRODUCTION I've never really been very good at math and when I found out I had to take a Calculus class I started to panic. Once I gathered myself I went to the local bookstore to see if I could get a book to read so i could get a heads start. We are...
  4. quantumdude

    Exploring Logic: A Complete Course in Logic Theory

    Hi there, thanks for coming to the thread about the single most widely abused word in all of internet discussion forumdom: logic. A few months back, I decided to pick up a textbook on the subject and work through it cover to cover. I’m about halfway done, but I thought I’d present the notes...
Back
Top