• ¿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 15 páginas
Examen

Cs 6515 Exam 2 Certification Evaluation Tested Questions Full Solution Guide.pdf

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

CS 6515 EXAM 2 CERTIFICATION EVALUATION TESTED QUESTIONS FULL SOLUTION GUIDE.pdf

Vista previa del contenido

CS 6515 EXAM 2 CERTIFICATION EVALUATION TESTED QUESTIONS FULL SOLUTION GUIDE




Question:
Kruskal's Algorithm.

Answer:
1. Sort E by increasing weigt 2. Go through edges in order and add an edge to our current tree if it
doesn't create a cycle Running Time: O(m log n), m = |E|, n = |V|



Question:
Is there ever a reason to use cycles in a flow graph?

Answer:
No



Question:
Flow Network Constraints: Capacity Constraint.

Answer:
For all edges, the flow must be larger than zero, but less than the capacity of that edge



Question:
Goal of Flow Problem.

Answer:
Maximize the flow out of the source (or into the sink) of maximum size while satisfying the capacity
and conservation of flow constraints.

, Question:
Flow Network Constraints: Conservation of Flow.

Answer:
For all vertices (other than the starting (source) and ending (sink) vertices), the flow into v must
equal the flow out of v.



Question:
Ford-Fulkerson Algo.

Answer:
1. Start with f_e = 0 for all edges 2. Build the residual network for current flow 3. Find st-path in
residual network if no such path then output f 4. Let c(p) = min(c_e - f_e); this is available capacity
along some path 5. Augment f by c(p) along p for forward edges increase flow by c(p) for backward
edge, decrease flow by c(p) 6. Repeat



Question:
Residual Network.

Answer:
For flow network G = (V, E) with c_e for edges and f_e for flows: 1. If there exists an edge vw
where f_vw < c_vw, add vw to residual network with capacity c_vw - f_aw 2. If there exists an edge
vw where f_vw > 0, then add wv to residual network with capacity f_vw Note: 1 shows available
forwards capacities and 2 shows residual backward capacities.



Question:
Ford-Fulkerson Runtime.

Answer:
Need to assume all capacities are integers. This will allow flow to always increase by at least 1 unit
per round. If C is the maxflow, then there are at most C rounds. Each round of FF takes O(m), so the
total time is O(mC), which is pseudo- polynomial



Question:

Información del documento

Subido en
12 de agosto de 2026
Número de páginas
15
Escrito en
2026/2027
Tipo
Examen
Contiene
Preguntas y respuestas
$17.89

¿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

Vendido
3
Seguidores
0
Artículos
6886
Ú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