Maximum flow Minimum Cut Algorithm

  Рет қаралды 46,533

Joel Speranza Math

Joel Speranza Math

Күн бұрын

Пікірлер: 58
@amandabrown1696
@amandabrown1696 3 жыл бұрын
The "water through the driver side" explanation really helped me understand which paths should and shouldn't be counted. Thanks!
@jdcasanasr
@jdcasanasr 4 жыл бұрын
I love how creative you are with examples. Congrats mate!
@vivianoranges
@vivianoranges 2 жыл бұрын
When they taught networks at school, I missed the topic and I have my HSC (NSW) standard/general maths exam in a week so this really saved me. It's a bit tedious, but going through each cut one by one visually to find the minimum definitely helped clarify my understanding! Massive thanks😭
@prefix7774
@prefix7774 Жыл бұрын
for me its in 12 hours and im not ready
@DD-uh5to
@DD-uh5to 2 жыл бұрын
i need you to know that youre saving my life right now thank you so much
@ry3833
@ry3833 11 ай бұрын
YOU EXPLAIN SO WELLLL thank youu
@gokulvellingiri4445
@gokulvellingiri4445 3 жыл бұрын
Great one. I am so impressed with your driver and passenger concept.
@liv3580
@liv3580 Жыл бұрын
best explanation i've seen for this topic so far
@RetiringMotivation
@RetiringMotivation 2 ай бұрын
Wow, You're so great at explaining and teaching, I have my external math exam tomorrow, and this was the one I got stuck on, but you made it so easy to understand and figure out. Tysm 🙏, you're great man!
@pradeexsu
@pradeexsu 4 жыл бұрын
Thanks joel 😊 i really love the way you explain the concept. Thank you so much ❤️🙏 for amazing explanation.
@JoelSperanzaMath
@JoelSperanzaMath 4 жыл бұрын
Thanks Pradeep, I'm glad you enjoyed it.
@sumitar6478
@sumitar6478 4 жыл бұрын
Very well explained
@iremmatasoy
@iremmatasoy 2 ай бұрын
best video ever on this topic. BEST
@rubenmatton6258
@rubenmatton6258 3 жыл бұрын
I'm wondering how do they make these kind of videos where there is an invisible board
@Dule-my1yc
@Dule-my1yc 3 жыл бұрын
I'm mindblown every time haha
@yashkumarkandoi8143
@yashkumarkandoi8143 8 ай бұрын
Amazing explanation. Understood in one go!
@theCRGlife
@theCRGlife 4 жыл бұрын
Awesome Video, Really Informative. Commenting for KZbin Algorithm
@jordiespinafont2984
@jordiespinafont2984 3 жыл бұрын
Thank you so much for good videos, it is so helpful to get clear and step by step explanations on concepts. Really appreciate your teaching! I was wandering if there is a last cut that can be made: Starting from E(A,C) -> E(C,D) -> E(D,E) -> E(D,B) -> E(A,B)
@Dule-my1yc
@Dule-my1yc 3 жыл бұрын
I don't think that would work, because when you are making that last cut through (A,B), your cut is going downward rather than upward. Although you have managed to cut through each line only once, you won't be able to work out the minimum cut maximum flow. The car (as Mr Speranza mentioned it) will not be moving at the top of the page as every single other cut had done, rather it would be moving downwards
@ihaveskillissue69
@ihaveskillissue69 3 жыл бұрын
Got confused when you were talking about driver's side and passenger side, then I realized you are Australian! Regardless amazing video! Cheers from the States.
@JoelSperanzaMath
@JoelSperanzaMath 3 жыл бұрын
Sorry mate, I hope it wasn't too confusing.
@imtiredgoodnight
@imtiredgoodnight 3 жыл бұрын
Great video and channel, very well explained.
@BenHizak
@BenHizak 6 күн бұрын
Beautiful presentation. Are you actually drawing on a transparent board? Thank you for the video
@HausOfStream
@HausOfStream Жыл бұрын
THANK YOU SIR
@259mit
@259mit 9 ай бұрын
Best NF video
@DuckInRow
@DuckInRow 2 жыл бұрын
Great job!
@ashberry2852
@ashberry2852 Жыл бұрын
Thank you mate
@allgood2176
@allgood2176 5 ай бұрын
Good job helped me get good mark, very good explanation 👍
@Jmart786
@Jmart786 3 жыл бұрын
Great video, but isn't there an 8th cut hat goes through AC, CD, DE, DB, AB?
@JoelSperanzaMath
@JoelSperanzaMath 3 жыл бұрын
Good question and it highlights the most common source of error in this kind of question. The cut you describe is fine through AC, but if you then "drive your car" through CD the "water" will be flowing into the "driver's side". Remember when making cuts the "water" can only ever flow in the "passenger side".
@jonathanwhite1733
@jonathanwhite1733 Жыл бұрын
@@JoelSperanzaMath But isn't C3 going through CD?
@zippykat6517
@zippykat6517 5 ай бұрын
I was wondering if there is any way to know if you have gotten all the cuts? For spanning trees you can see that the number of edges is equal to the number of vertices, minus 1. Is there some rule for cuts too?
@basedstvr3132
@basedstvr3132 3 жыл бұрын
really well explained
@stanley9653
@stanley9653 3 жыл бұрын
If the start pipe is on the right and the sink is on the left is it better to re-draw the pipe network from left to right and then do the algorithm? Or would it be better to just do the algorithm and switch the drivers side. Thanks for the video by the way! 👍
@JoelSperanzaMath
@JoelSperanzaMath 3 жыл бұрын
How about just turning your page upside down?
@stanley9653
@stanley9653 3 жыл бұрын
@@JoelSperanzaMath Yes that works :) thanks for all your math help I've finished my Networks topic successfully 👍
@michaelklaczynski3650
@michaelklaczynski3650 Жыл бұрын
Okay, but how do you do this on a 1000-node, fully connected graph?
@max-_-6352
@max-_-6352 3 жыл бұрын
Wow this saved me for my test tmr thanks heaps!
@JoelSperanzaMath
@JoelSperanzaMath 3 жыл бұрын
Glad it helped!
@heelsadhna
@heelsadhna 2 жыл бұрын
One cut is missed 11-3-5-5-8. Although it doesn't matter.
@lauminator
@lauminator Жыл бұрын
Well, according to Joiel it does matter, otherwise the algorithm doesn't work!
@aybuke9495
@aybuke9495 4 жыл бұрын
Hello thanks for video. But I didn't understand why you ignored "5". I think c5 should be 1+3+5+3 ?Am I wrong?
@JoelSperanzaMath
@JoelSperanzaMath 4 жыл бұрын
I'm ignoring 5 because that water is flowing away from the sink, not towards it. In the video, I explain water needs to follow in the "passenger side" of the car, not the "driver side".
@aybuke9495
@aybuke9495 4 жыл бұрын
@@JoelSperanzaMath Aaa got it. I missed the that part of video, sorry. Thanks for explanation😊❤
@antongarcia7044
@antongarcia7044 8 күн бұрын
Where is the algorithm???
@JustAqua
@JustAqua 4 жыл бұрын
This saved my exam thank you so much
@JoelSperanzaMath
@JoelSperanzaMath 4 жыл бұрын
Good to hear!
@conxx1333
@conxx1333 6 ай бұрын
but the driver is on the left side side ,in real car right
@JoelSperanzaMath
@JoelSperanzaMath 6 ай бұрын
I'm Australian
@humza_shah
@humza_shah 10 ай бұрын
Awesome video! I found another cut that you missed. The cut that represents the partition of the nodes {A, D}. So drive up through A-C. Then turn right through C-D. Then up through D-E. Then left through B-D. Finally, up through A-B. This still cuts A off from E completely since the car goes from the bottom all the way to the top. The way I think about cuts for network flow problems is partitioning nodes into every possible subset of nodes (always including A and excluding E). So we have {A}, {A, B}, {A, C}, {A, D}, {A, B, C}, {A, B, D}, {A, C, D} and {A, B, C, D} thus 8 cuts in total. To connect with your cuts. c1 = {A}, c2 = {A, B}, c3 = {A, B, D}, c4= {A, C}, c5 = {A, B, C}, c6 = {A, B, C, D} and c7 = {A, C, D}. The only one we are missing is {A, D}. Thankfully, since {A, D} = 11+5+5+8 the min-cut/max-flow solution is still correct but I thought it might be worth pointing out to help with not missing any cuts! Hope this helps anyone to have a systematic way in finding and not missing any cuts.
@Shoeb-D
@Shoeb-D 5 ай бұрын
Thank you ❤
@kingbreaux
@kingbreaux 4 жыл бұрын
Hi Mrs, I'm studying are you proud?
@lilbigger5387
@lilbigger5387 6 ай бұрын
my teachers say cut from top to bottom
@justin_w7160
@justin_w7160 3 жыл бұрын
Video so we’ll done ✅
@johnmifsud6814
@johnmifsud6814 2 жыл бұрын
An average student would spend half an hour doing this method - stuffing the exam. What if you miss a cut - disaster....
@adventurer2395
@adventurer2395 Ай бұрын
1:48 hehehe
@adventurer2395
@adventurer2395 Ай бұрын
The passenger/drive analogy does not translate well to a global audience and confused me more. I also did not understand the why behind this.
@zxoowoo6094
@zxoowoo6094 2 жыл бұрын
thanks, super clear, like ur examples
Activity networks and precedence tables
11:38
Joel Speranza Math
Рет қаралды 6 М.
Network Flows: Max-Flow Min-Cut Theorem (& Ford-Fulkerson Algorithm)
21:56
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
요즘유행 찍는법
0:34
오마이비키 OMV
Рет қаралды 12 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
The hungarian algorithm for weighted assignments
13:38
Joel Speranza Math
Рет қаралды 21 М.
13. Incremental Improvement: Max Flow, Min Cut
1:22:58
MIT OpenCourseWare
Рет қаралды 157 М.
Minimum cuts and maximum flow rate
10:00
Juddy Productions
Рет қаралды 76 М.
Finding maximum flow through a network
4:59
Bryn Humberstone
Рет қаралды 38 М.
Flow Networks and Maximum flow
9:00
Joel Speranza Math
Рет қаралды 23 М.
Max Flow Ford Fulkerson | Network Flow | Graph Theory
13:25
WilliamFiset
Рет қаралды 510 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
The Maximum   Flow Minimum cut Theorem
10:17
Hoang Maths
Рет қаралды 54 М.
Becoming good at math is easy, actually
15:29
Han Zhango
Рет қаралды 1,6 МЛН
What is Group Theory? - Group Theory Ep. 1
31:13
Nemean
Рет қаралды 1,1 МЛН