"Find a generic polygon that forces the triangulation code to use "Big Theta"(n^3) time."
4: Affine hulls [easy]
(3.2.3.4, pg 75) (3.2.3.4, pg 68)
2A: Recall the "GIFTWRAPPING" algorithm for convex hulls requires us to find the minimum angle theta from the "current" edge of the hull. It is usually desirable, if our input points are integer-valued, to avoid floating-point (i.e non-integer) arithmetic for speed and precision reasons. Describe how you could implement the GIFTWRAPPING algorithm so that "theta" need never be explicitly calculated, and only integer arithmetic is used (no division!).
Assignment #1 (due Thu. 2/7):
Section 1.1 (pg 10): 1
Section 1.2 (pg 16): 1, 2, 4
Section 1.6 (pg 46): 1
NOTE: Yes, 1.2.4 is hard. But fun. See how far you get with it.
BTW, I don't have a closed form yet (if I'm even doing it right... ;-)
Extra Credit: #1.1.4.4 (pg 10)
Or see the whole assignment here.
Return to: Math 189A Main Page
* Greg Levin's Page
* Department of Mathematics
Email: levin@hmc.edu