Тёмный

13. Incremental Improvement: Max Flow, Min Cut 

MIT OpenCourseWare
Подписаться 5 млн
Просмотров 154 тыс.
50% 1

MIT 6.046J Design and Analysis of Algorithms, Spring 2015
View the complete course: ocw.mit.edu/6-0...
Instructor: Srinivas Devadas
In this lecture, Professor Devadas introduces network flow, and the Max Flow, Min Cut algorithm.
License: Creative Commons BY-NC-SA
More information at ocw.mit.edu/terms
More courses at ocw.mit.edu

Опубликовано:

 

16 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 76   
@karansvnit
@karansvnit 7 лет назад
Cut -> 46:45 Residual Graph -> 1:08:10 Augmenting Path -> 1:18:10
@Kr4cKHe4D
@Kr4cKHe4D 5 лет назад
thanks mate haha
@volimsamopare6946
@volimsamopare6946 4 года назад
Thanks!!
@Dontonethefirst
@Dontonethefirst 4 года назад
You dropped this, 👑
@wickshawn3994
@wickshawn3994 4 года назад
thanks bruh
@ivanmartinezmorales3483
@ivanmartinezmorales3483 3 года назад
Not all heroes wear capes
@anmol9096
@anmol9096 8 лет назад
Wish I could sit in that room, answer your questions, get a frisbee :-) but it's still good. Thank you MIT for providing this level of education for free. If I grew up to earn sufficient money, I will surely donate so that you continue with this good work forever.
@ilyakopyl
@ilyakopyl 6 лет назад
I don't know how I would survive algorithm classes in my school without these MIT lectures.
@matajuan366
@matajuan366 4 года назад
hookers and cocaine my friend
@brendawilliams8062
@brendawilliams8062 3 года назад
Watching it fit previous diagrams and rounding numbers is interesting
@MatthewYe
@MatthewYe 8 лет назад
Only video about network flow I was able to understand - thanks MIT.
@adrianbona
@adrianbona 6 лет назад
You're rocking it, Srinivas 🎉
@nguyenthanhdat93
@nguyenthanhdat93 6 лет назад
The lecture is phenomenal!! Thank you very much MIT for making this course open-source to the public !!
@mikhailosiko
@mikhailosiko 3 года назад
Thank you very much! This was the first clear explanation of this topic. I highly recommend it to those who are studying "advanced algorithms" on coursera.
@djtiner1
@djtiner1 4 года назад
Very straightforward and clear explanation and illustrative examples. It made me understand this interesting subject! You did in an hour and 20 minutes what my teacher didn't in 2 hours!
@brendawilliams8062
@brendawilliams8062 3 года назад
I felt the electric 📐 angle on it. A great lecturer.
@anishbhanushali
@anishbhanushali 7 лет назад
if anyone's want to jump directly on finding cuts, @ 1:07:00 he starts to explain how you find min-cut
@Davio88
@Davio88 6 лет назад
thank you very much
@BlackHermit
@BlackHermit 4 года назад
The Frisbee of true Computer Science!
@M4D4F4K4.
@M4D4F4K4. Год назад
fuck have an exam next week with this topic. The professor only gave us a week to understand the material. Of course doable for smarties and exceptions but as a normal person. So intimidating.
@matthewrister
@matthewrister 3 года назад
Love his enthusiasm!
@mystmuffin3600
@mystmuffin3600 2 года назад
How does the sum at 28:40 even work? The sum of flow values outgoing from all vertices except source and sink equals zero?
@F1mus
@F1mus 4 года назад
Honestly, the camera guys need to pay attention to the lecture. When he asks about something that's on the board, don't point the camera at Srini. Point it at the BLACKBOARD, so that the viewer can also try to answer the question.
@ryanc7840
@ryanc7840 2 года назад
A huge thanks and kudos to Professor Devadas.
@amsainju
@amsainju 6 лет назад
The lecture is really good but the movement of the camera is making me dizzy.
@ivanserranohernandez434
@ivanserranohernandez434 Год назад
Thanks MIT for these great lectures!
@asian1599
@asian1599 11 месяцев назад
at 51:36, doesn't it break flow conservation since one of the nodes has 2 going in but 3 goes out?
@xinli6243
@xinli6243 5 лет назад
at 56:14 , one student asked a question about why don't we consider path s -> c. Sirinivas said when you don't have a particular edge from s to c, you can use skew symmetry to argue s->c and c->s cancelled out each other. I don't get his answer. We are considering f(S, T), why does c->s get involved and cancel s -> c?
@brendawilliams8062
@brendawilliams8062 3 года назад
I don’t know 🤷‍♀️. I just say in real life you need electricity or telephone poles.
@varunnarayanan8720
@varunnarayanan8720 7 месяцев назад
I have a doubt in the flow conservation formula. f(u,v) is 0 only for all edges between u and v right. If there's an indirect edge then we take it also as 0 right. In the case how f(s,t) also should be equal to 0 right as there's no direct edge between s and t?
@junzhai1715
@junzhai1715 3 года назад
a super short proof of the Theorem at 40:49: 0=f(V,V)=f(s,V)+f(t,V)+f(V-s-t,V) ({s}, {t}, V-s-t are disjoint sets). Since f(V-s-t,V) = 0 (by conservation property), f(s,V)+f(t,V)=0. i.e. f(s,V) = -f(t,V) = f(V,t)
@jacobsalzberg8579
@jacobsalzberg8579 3 года назад
That's the proof I come to as well when I try to come up with the proof on my own. Any idea why he uses a different method?
@avinashpatil8816
@avinashpatil8816 5 лет назад
He actually threw frisbee at students at an MIT lecture. That's hilarious....
@jeongminyoun5388
@jeongminyoun5388 4 года назад
Please, show me upper graph when you explain residual graph network flow, I didn't know that how it works.
@shreemaypanhalkar451
@shreemaypanhalkar451 8 лет назад
Thank you very much.
@adityakohli5160
@adityakohli5160 7 лет назад
That's a very nice explanation !
@jenuno2
@jenuno2 8 лет назад
Perfect, thanks !
@mostafaomar5441
@mostafaomar5441 5 лет назад
What was the point of disallowing self edges and cycles (u,v), (v,u) at 22:58? I'm not really sure I understand the difference between net-flow and positive-flow and the impact of the professor's assumption on the following definitions/constraints and therefore proof.
@arjunsingh2183
@arjunsingh2183 5 лет назад
Self edges cause accumulation of flow which is not allowed. You can think of this as the amount of flow coming into a vertex must equal the amount of flow leaving it (like Kirchhoff's law for current flowing through wires). Cycles are accommodated by adding an intermediate edge so as to preserve that there was a direction of flow (the capacities remain the same along the newly added edges). This modification helps when we form Residual Networks as then we have the possibility of alternating (2 way) edges. Both these assumptions help significantly in proving the theorems discussed in the video.
@dipenbhuva2061
@dipenbhuva2061 2 года назад
Informative!! I am eating information like never before :)
@aybrl
@aybrl 2 года назад
This is great. Thank you
@foreveralice8311
@foreveralice8311 4 года назад
Great Lecture! Wonderful!
@h4vret
@h4vret 5 лет назад
Excellent explanation.
@khailai5204
@khailai5204 4 года назад
Amazing class!
@OmarAhmed-od9rf
@OmarAhmed-od9rf 4 года назад
What did that student mean at ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VYZGlgzr_As.html?? We did consider c at f(d,c) which is -1 . Not sure what did he mean with his question.
@shubhamtomar95
@shubhamtomar95 4 года назад
How does f(u, v) work in skew symmetry when (u,v) are not connected by an edge?
@sambennet1138
@sambennet1138 4 года назад
It would be 0 = -0 since we define any (u,v) with no explicitly given capacity as 0
@malharjajoo7393
@malharjajoo7393 7 лет назад
The proof at 1:03:00 seems a bit odd. he has broken up the RHS term in the parenthesis into 2 parts( but the rules he gave earlier break the LHS term in the parenthesis )
@viveksengupta
@viveksengupta 6 лет назад
you can always negate and break the LHS, same deal
@subhamraj2500
@subhamraj2500 5 лет назад
Cut 47:00
@rifathasan6017
@rifathasan6017 3 года назад
is it related to gomory hu's algorithm?
@malharjajoo7393
@malharjajoo7393 7 лет назад
How would you claim that using bottleneck value as the flow will always be correct ?
@Heuristicpohangtomars
@Heuristicpohangtomars 11 дней назад
1:12:48 esidual network base on flow
@PureClarityAbsolute
@PureClarityAbsolute 8 лет назад
Mr. Cameraman focus on the BOARD more than on the teacher.
@videofountain
@videofountain 8 лет назад
The MIT site has (pdf) documents for the lectures which you might enjoy. You may also pause the video. You may want to have side by side windows on your computer to see both at the same time.
@raynoldcsya8317
@raynoldcsya8317 7 лет назад
i think the camera panning is automated right? seems like there is some tracking going on... If so that is pretty amazing
@SannaFarrukh
@SannaFarrukh 7 лет назад
videofountain k
@李愚-f7j
@李愚-f7j 5 лет назад
@@raynoldcsya8317 yeah imagine them holding the camera and track the board and professor for over 1 hour... a lot of endeavors
@yujeong8373
@yujeong8373 4 года назад
Cool class
@snlgrg
@snlgrg 8 лет назад
Can somebody Plz provide me the link to the next lecture, which is continuation of this one.. !!
@mitocw
@mitocw 8 лет назад
+snlgrg If the next video (14. Incremental Improvement: Matching) isn't visible as the top recommend video in the top right column, see this playlist to see it and the rest: ru-vid.com/group/PLUl4u3cNGP6317WaSNfmCvGym2ucw3oGp
@omercreateswords
@omercreateswords 5 лет назад
at 42:14 why f(s,V)=f(V,V)-f(V-s,V)?
@junzhai1715
@junzhai1715 3 года назад
because V-{s} and {s} are disjoint sets. By the third property, we have f(s,V)+f(V-s,V)=f(V,V)
@pratyushvatsa7490
@pratyushvatsa7490 3 года назад
His bag is actually a 4-dimensional container
@RayvinLai
@RayvinLai 4 года назад
I saw Erik on the seat when camera zoom out
@malharjajoo7393
@malharjajoo7393 7 лет назад
I think there is a small mistake at the end in the example. Edge from c-> t should be 0:2
@inesoliveira7418
@inesoliveira7418 4 года назад
my teachers never gave me frisbees
@osmankhalid2005
@osmankhalid2005 3 года назад
Min-cut example part not clear.
@videofountain
@videofountain 8 лет назад
At the time point ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-VYZGlgzr_As.htmlm40s we can see some numeric summation and the graph diagram at once. That is helpful. Then after that we rarely see them both at the same time, which is not helpful. MIT does provide the pdf at their website for more clarity. Their is a unfortunate combination of red chalk, handwriting, and excess camera movement. There is a simple summation of values, positive and negative and the explanation does not reflect that simplicity. Looking at the pdf document and the video simultaneously is useful. MIT might consider full screen pip (picture in picture) and chalkboard centric view simultaneously for ease of viewing.
@studyup6106
@studyup6106 7 лет назад
46:46 cut
@hendelsrkearny
@hendelsrkearny 4 года назад
What's CLRS?
@hendelsrkearny
@hendelsrkearny 4 года назад
Yup. Thanks. It’s pretty overrated. If you go to Amazon, most of the reviewers are trying to sound smart and are just parroting each other. Then there are a bunch of negative reviews from people who are unhappy about damage to the copies they got. And then finally, there are some very well-thought-out and well-written criticisms of the book which really should be heeded. Amazing how mediocrity gains such credibility.
@buraknuhemiroglu6033
@buraknuhemiroglu6033 7 лет назад
its unbelievable he managed to extend a simple 20 minute topic (at max ) and lecture it for 1 hour and 22 minutes. im in 1h15min and still havent seen a defn about ford fulkerson method which he tries to explain. completely trash. if you want to learn the algorithm, dont waste your time on this video, watch ucdavis, idk.
@mr.arikodus7527
@mr.arikodus7527 Год назад
Kanka 6 sene olmuş ama ben senin kadar köylü bir adam görmedim. Dersin ana konusu zaten ford fulkerson algoritması değil, adam algoritmanın çalışma mantığının altında yatan sebepleri ve teoriyi anlatıyor bazılarının da kanıtlarını veriyo. Bir sike sap olabildin mi çok merak ettim bu kafayla
@dkg4975
@dkg4975 3 года назад
I don't know about others but I don't like these kind of teachers
Далее
14. Incremental Improvement: Matching
1:22:32
Просмотров 53 тыс.
R7. Network Flow and Matching
51:12
Просмотров 36 тыс.
Maximum flow Minimum Cut Algorithm
14:02
Просмотров 41 тыс.
Meet the Mind: The Brain Behind Shor’s Algorithm
9:12
Edmonds Karp Algorithm | Network Flow | Graph Theory
9:35
Minimum cuts and maximum flow rate
10:00
Просмотров 72 тыс.