np complete Flashcards

0
Q

Traveling salesman Decision problem

A

Name: Traveling salesman decision problem

Instance: a set of n cities and integer distance d(i,j) between each pair of cities i, j and a target integer k

Question: is there a permutation P of 1 to n such that d(p1,p2) to d(dn,d1) <= k

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

Hamiltonian Cycle

A

name Hamiltonian cycle
instance: a graph G
Question : does G contain a cycle that visits each vertex exactly once?

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

clique problem

A

name: clique problem
instance: a graph G and a target integer k
Question: does G contain a clique of size k
(edge between all vertices)

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

Graph coloring problem

A

Name: Graph coloring problem

Instance: a graph G and a target integer k

Question: can one of k colors be attached to each vertex of G so that adjacent vertices always have different colors

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