Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Document preview thumbnail
Vista previa 3 fuera de 21 páginas
Examen

CS6515 EXAM 2 2026/2027 ACTUAL QUESTIONS WITH VERIFIED ANSWERS.

Document preview thumbnail
Vista previa 3 fuera de 21 páginas

CS6515 EXAM 2 2026/2027 ACTUAL QUESTIONS WITH VERIFIED ANSWERS.

Vista previa del contenido

CS6515 EXAM 2 2026/2027
ACTUAL QUESTIONS WITH
VERIFIED ANSWERS.

Augmenting Path - correct answer-A path that exists on the
residual graph from s -> t.


This type of path implies there exists more flow that can be
pushed through the graph.


This occurs when there exists a path through which the
minimum residual capacity F among all edges in the path is
greater than 0.




When is a flow a max flow - correct answer-When there is no
augmenting path in the residual graph




Size(flow) = - correct answer-F_out(L) - f_in(L)




How to construct a min cut - correct answer-- construct a max
flow

,- set L to be those vertices reachable from s in the residual
graph
- This st cut then has a capacity equal to the max flow
- maxflow = mincut




Ford-Fulkerson vs Edmonds-Karp - correct answer-FF:
- Finds augmenting paths using DFS or BFS
- O(mC) time, where C is the size of the max flow
- assumes integer capacities
- capacities cannot be infinity


EK:
- Finds augmenting paths using BFS (is an example of FF)
- O(nm^2)
- No assumptions on integer capacities
- Only requires positive capacities




Edmonds-Karp Number of rounds is at most - correct answer--
mn
- Every round residual graph changes by > 1 edge
- Lemma: all edges are deleted/inserted later < n/2 times
- Since m edges, total rounds < nm/2

, BFS Levels - correct answer-- Minimum number of edges from
s to some vertex
- They never decrease in residual network, can only increase
- If we delete an edge and add it back it will increase by at least
2
- Thus, since there are n levels, the maximum number of times
we can delete and add back an edge is n/2




Adding/Removing an Edge to G^f implies - correct answer--
Add: if add y->z, then edge z->y must be on augmenting path
- Remove y ->z, then edge y ->z must be on augmenting path




How to topologically sort a DAG - correct answer-Sort vertices
by decreasing post-order #




Post-order # Properties for DAG - correct answer-- highest post
order # is source
- lowest post order # is sink (this is not always true for general
directed graphs but is always true for DAGs)

Información del documento

Subido en
22 de mayo de 2026
Número de páginas
21
Escrito en
2025/2026
Tipo
Examen
Contiene
Preguntas y respuestas
$17.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.
Savvynurse
3.6
(58)
Vendido
251
Seguidores
7
Artículos
7848
Última venta
4 semanas 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