NP Flashcards

1
Q

Clique is conceptually the opposite of ____

A

Independent Set

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

Set of vertices S of an Independent Set of G is the equivalent to ____.

(with regard to cliques)

A

Same S of complementary graph for a clique.

“Can Luke Inspect Some Goods?”

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

Definition of vertex cover

A

for every (x,y) ∈ E, either x ∈ S or y ∈ S

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

What is the key claim regarding vertex cover –> I.S. NP reductions?

A

S is a vertex cover IFF S̄ is an independent set in the the same graph.

“Venture Capital Is So Sexy”

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

If A –> B, what do we know about B?

A

That B is at least as hard as A

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

NP complete is the intersection of…

A

NP and NP-Hard

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

All NP-Complete problems are ____, but not all _____ are _____.

A
  1. NP-Hard
  2. NP-Hard
  3. NP-Complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Vertex Cover –> Clique Lemma

A

Vertex cover S IFF complement of S is clique of complement of G.

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

Relationship between #vertices, #edges in clique

A

|e| = k(k-1)/2

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

Clique I/O

A

INPUT: Graph G and goal g

OUTPUT:

  1. set of vertices S (clique) with size >= g if possible
  2. NO otherwise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Vertex Cover I/O

A

INPUT: graph G and budget b

OUTPUT:

  1. set of vertices S (vertex cover) <= b if possible
  2. NO otherwise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Independent Set I/O

A

INPUT: graph G and goal g

OUTPUT:

  1. set of vertices S (independent set) >= g if possible
  2. NO otherwise
How well did you know this?
1
Not at all
2
3
4
5
Perfectly