Тёмный

The Quickhull Algorithm 

Declan Dennehy
Подписаться 32
Просмотров 22 тыс.
50% 1

An explanation of the Quickhull algorithm with an description of my code implementation

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

 

16 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@xJrockandjrollx
@xJrockandjrollx 3 года назад
This is so much clearer then my professor's explanation, thanks!
@radauritro7221
@radauritro7221 9 месяцев назад
Very precisely taught ! Thank you so much Sir !
@greeffinfule
@greeffinfule 2 года назад
Thankyou so much.. it was easy to understand and very helpful.
@swethagnanasundaram1404
@swethagnanasundaram1404 3 года назад
this is super clear!
@georgevasiliadis4228
@georgevasiliadis4228 4 года назад
why only 45 likes tho? "white theme" is the only explanation i can give
@justinesdepiscis343
@justinesdepiscis343 5 лет назад
Faaaar more simple if you compare it to Divide & Conquer + Brute Force
@desuwestvlogs4127
@desuwestvlogs4127 4 года назад
UMMM... YES
@josephine4597
@josephine4597 Год назад
You are wrong. The best case is O(n), not O(n log n). Just take a triangle and put a bunch of points inside it. That will be O(n). The best case is not where it is divided evenly. It is where all points are inside the triangle (see 1:20) meaning you don't need to do any more work. This is not quicksort. There is a big difference. In quicksort, all elements, on both sides of the partition, must be processed eventually, so it is best to divide them evenly. Here there are basically 3 partitions per recursion: two of them get processed recursively, one gets ignored. So naturally, the best case maximizes the number of points ignored. Somehow I could not find an explanation of this on the internet. I look on stack overflow, and there are several professional software engineers, claiming the best case is O(n log n). It's kind of sad, because the best case of O(n) is kind of glaringly obvious. It's like people have a pathological inability to accept that this is a different algorithm from quicksort, and when it comes to analysis they just completely shut down their brains and assume it's just like quicksort, even though about 15 seconds of thinking will tell you otherwise. The best case doesn't even really matter, it just really disturbs me to see so many people completely lack critical thinking. This video has 17 thousand views over the course of 4 years, and I'm the first one to comment this? I'm not very smart. But at least I actually tried to analyze this instead of just mentally copy-pasting the quicksort analysis.
@matchpoint2899
@matchpoint2899 4 года назад
do u have the code for this on github?
@desuwestvlogs4127
@desuwestvlogs4127 4 года назад
WHY, YOU WANNA CHEAT? OR SOMETHING?
@adrielaraya1890
@adrielaraya1890 2 года назад
@@desuwestvlogs4127 chill the f down, of course we want to cheat
Далее
The Midpoint Circle Algorithm Explained Step by Step
13:33
The moment we stopped understanding AI [AlexNet]
17:38
Convex Hull in 3D
5:28
Просмотров 4,4 тыс.
Fast Inverse Square Root - A Quake III Algorithm
20:08
How 3 Phase Power works: why 3 phases?
14:41
Просмотров 950 тыс.
The Boundary of Computation
12:59
Просмотров 1 млн
Can you guess a shape from its shadows?
9:01
Просмотров 493 тыс.