Intractability Flashcards

1
Q

What are Class P problems?

A

Problems that can be solved in Polynomial Time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Class NP Problems?

A

Problems that are solvable in Polynomial Time but by a Non-Deterministic Machine

OR

Problems that can verify a solution in Polynomial Time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are NP-Hard Problems?

A

Problems that are at least as hard as all the problems in NP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are NP-Complete Problems?

A

Problems that are in both NP and NP-Hard

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a Decision Problem?

A

A function that outputs a boolean

For example is element X in a list

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does it mean that
A is Reducible to B?

A

This means that if we can solve B we can solve A

This means that A is “easier” to solve than B

A <= B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is Poly Time Mapping Reducibility?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the relationship between Decision and Optimisation problems?

A

Optimisation problems are at least as hard as the Decision problem

Decision <= Optimisation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a reduction?

A

A polynomial time function that maps instances of Problem A into problem B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly