Intractability Flashcards
What are Class P problems?
Problems that can be solved in Polynomial Time
What are Class NP Problems?
Problems that are solvable in Polynomial Time but by a Non-Deterministic Machine
OR
Problems that can verify a solution in Polynomial Time
What are NP-Hard Problems?
Problems that are at least as hard as all the problems in NP.
What are NP-Complete Problems?
Problems that are in both NP and NP-Hard
What is a Decision Problem?
A function that outputs a boolean
For example is element X in a list
What does it mean that
A is Reducible to B?
This means that if we can solve B we can solve A
This means that A is “easier” to solve than B
A <= B
What is Poly Time Mapping Reducibility?
This states that if A is reducible to B,
A <= B
Then there exists a function which maps inputs of A to inputs of B
What is the relationship between Decision and Optimisation problems?
Optimisation problems are at least as hard as the Decision problem
Decision <= Optimisation
What is a reduction?
A polynomial time function that maps instances of Problem A into problem B