• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 5 páginas
Examen

cs6515 Test 3 Questions with Verified Correct Answers

Document preview thumbnail
Vista previa 2 fuera de 5 páginas

cs6515 Test 3 Questions with Verified Correct Answers

Vista previa del contenido

cs6515 Test 3 Questions with Verified Correct
Answers
What is a P problem?

P = Polynomial

-A problem that can be solved in Polynomial time.

-There is a Polynomial time algorithm to solve it.

What is a NP problem?

NP = Non-Deterministically Polynomial

-A problem where the Solution can be VERIFIED in Polynomial-Time

What are differences in P and NP?

All P problems are in NP but all NP problems are not in P. P is a subset of NP.

-Problems may be verifiable in Polynomial-Time but not solvable in Polynomial-Time

What are NP-Complete Problems?

The hardest problems in the NP class.

A problem is NP-Complete if it is in NP and in NP-Hard.

What are NP-Hard problems?

A problem at least as hard as every problem in the class NP.

A problem is NP-Hard if all other problems in NP can be polynomially reduced to it.

NP-Hard problems don't have to be NP problems.

What is the difference between NP-Complete and NP-Hard?

, NP-Complete problems are the hardest in the set NP.

NP-Hard is not necessarily in NP.

NP-Hard problems are at least as hard as everything in the set NP.

What is a clause edge?

An edge between vertices in the same clause

What is a variable edge?

An edge between complimentary vertices

- x and x' have a variable edge between them.

How to reduce 3SAT to Independent Set?

1. Create a graph representation of 3SAT input

- 1 vertex for each literal and each clause.

2. Add Clause Edges

-An edge between each literal in a clause

3. Add variable edges

-An edge between x and x'

What vertices do we choose to be in the IS?

1. No Clause Edges between vertices.

-Vertices cannot be neighbors of each other.

2. No Variable Edges

-Vertices cannot be compliment of each other

- x and x' cannot both be in IS.

How to prove S is an independent set?

Información del documento

Subido en
12 de octubre de 2026
Número de páginas
5
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$11.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
KenAli
2.6
(18)
Vendido
120
Seguidores
5
Artículos
25837
Última venta
1 semana hace




Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes