Code below… In this video we’ll learn about the Graham Scan, an algorithm developed in the 70s, used to construct ‘Convex Hulls’. Before we delve into the details of the algorithm, we’ll first learn a bit ‘Convex Hulls’ themselves, and some ways of testing to see if a set of points constitutes a ‘Convex Hull’. Towards the middle of the lesson, we’ll switch over to our coding editor and actually implement the algorithm in Python (2.7).
►Code for this lesson: github.com/bfaure/Python_Algo...
****
► Python Data Structures: • Python Data Structures
► GUI development in Python (WIP): • Python GUI Video Tutor...
References:
[1] en.wikipedia.org/wiki/Convex_...
[2] en.wikipedia.org/wiki/Convex_...
[3] • Video
[4] www.geeksforgeeks.org/convex-h...
[5] en.wikipedia.org/wiki/Graham_...
End song is “Out of the Skies Under the Earth” by Chris Zabriskie
28 ноя 2017