This is the best lecture i have seen on this topic
@Amy-tw3zh4 жыл бұрын
I guess this is intuitive after all - we are going to start working on assignment whose deadline is the closest.
@medoalnaser8 жыл бұрын
Thank you for putting this content on KZbin
@mikycaballero15758 жыл бұрын
gnj
@Amy-tw3zh4 жыл бұрын
Also good to note that this is a "stay ahead" proof and not "exchange argument" proof.
@Amy-tw3zh4 жыл бұрын
Analogy: I might get one of the assignments done today because its only gonna take me 1h, even though the deadline is so far away. Doing this, i will risk being too late on Assignment 2 which is due only 2 days from now! So It's better to do assignment 2 now so i minimize the time i'll be late for that assignment.
@abdelhakelidrissi68814 жыл бұрын
Dear, In the definition of the maximum lateness, you consider that: For all i, Li=max(0,Ci+pi) It's the definition of the tardiness not the definition of the lateness of a job. You must change maximum lateness by maximum tardiness, because lateness can be negative. Best,
@MrACrazyHobo4 жыл бұрын
Best video on the topic.
@mohamed.zarai253 жыл бұрын
Thank you for this work, very useful for me in integrer programming
@ruseruseruse7 ай бұрын
"Imagine this: You are a student and you are a bit late on doing your assignments" hit me, lmao
@leetchef66025 жыл бұрын
great work
@soumyasen14834 жыл бұрын
When we convert the equality l'_m = f_n - d_m to an inequality, shouldn't it be a < instead of a f_m - d_m, so shouldn't it be l'_m < f_n - d_n, and not l'_m
@capturedart08 ай бұрын
where is the actual code?
@MiguelRamirez-rk4wk6 жыл бұрын
"This shouldn't be too hard to imagine" lmaooo
@arianj28635 жыл бұрын
Your proof seems to be incomplete right? You're only considering the case where we have adjacent inversions, what if we have non-adjacent inversions though? I feel as if there is some way to proof that whenever we have an inversion, we also have an adjacent inversion, but I'm not sure. EDIT: I just realised that you can achieve an array sorted by deadlines using just adjacent inversions, just like how it goes in insertion sort.