Self reduction Flashcards

1
Q

Decision problem

A

Problem whose answer is yes/No

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

Search problem

A

Problem whose solution is the answer

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

Optimization problem

A

Problem whose answer is the best possible solution

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

Vertex cover S of G(V,E)

A

A vertex cover S of G(V,E) is a set of vertices whose removal result in an edgeless graph.
V is a trivial vertex cover.
V - “any” vertex is another vertex cover

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

Self reduction

A

If the reduction of the “search version of X” to the”decision version of X” can be done in polynomial time, then we say X self reduces in polynomial time

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

Vertex-cover self reduction

A

Check

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

Independent Set self reduction

A

Consider I have a black-box that answer the decision problem of Independent set with yes or no. Also consider a Graph G(V,E) with a Independent set of size K. I remove any first vertex and I check the blackbox; If I stilll have a vertex cover of size K, I remove another vertex. If when removing the vertex , I dont have an indepndent set, I keep that vertex ( it is one of my indpendent set) and remove another and check. We keep on until the size of fixed vertices is K (equal to the size of IS)

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

3 coloring self reduction

A

Consider I have a black box that answer the decision problem of 3 coloring. Consider I have a Graph G that is 3 colorable. I choose a vertex and I color it with color 1 , it is adjacent colors are colored with different colors. I add an edge from the vertex and check if the graph if still 3 colorable, if so I add another edge, else if not I color these 2 vertices with same color and move to the next vertex.

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

Minimum vertex cover

A

Minimum vertex cover is a vertex cover that has the smallest number of vetices among all possible vertex covers

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

Minimal vertex cover

A

A minimal vertex cover is a vertex cover that does not contain another vertex cover

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

A minimum is minimal, but a minimal is not necessarily a minimum

A

True

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

How to check a vertex cover in polynomial time

A

For each edge (uv) do
if (Sol(u)==0 & Sol (v)==))
return false
return true

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